本文整理汇总了C#中ResourceDataWriter类的典型用法代码示例。如果您正苦于以下问题:C# ResourceDataWriter类的具体用法?C# ResourceDataWriter怎么用?C# ResourceDataWriter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ResourceDataWriter类属于命名空间,在下文中一共展示了ResourceDataWriter类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// write structure data
writer.Write(this.BlockIndex);
writer.Write(this.OffsetDiv16);
writer.Write(this.Unknown_4h);
}
示例2: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// write structure data
writer.Write(this.Unknown_0h);
writer.Write(this.Unknown_4h);
writer.Write(this.Unknown_8h);
}
示例3: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// write structure data
writer.Write(this.X);
writer.Write(this.Y);
writer.Write(this.Z);
}
示例4: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// write structure data
writer.Write(this.DataType);
writer.Write(this.DataLength);
writer.Write(this.DataPointer);
}
示例5: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// write structure data
writer.Write(this.NameHash);
writer.Write(this.DataOffset);
writer.Write(this.DataType);
writer.Write(this.Unknown_Ah);
writer.Write(this.RefNameHash);
}
示例6: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// write structure data
writer.Write(this.Flags);
writer.Write(this.Stride);
writer.Write(this.Unknown_6h);
writer.Write(this.Count);
writer.Write(this.Types);
}
示例7: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// write structure data
writer.Endianess = RageLib.Data.Endianess.BigEndian;
writer.Write(this.DataLength);
writer.Endianess = RageLib.Data.Endianess.LittleEndian;
writer.Write(this.Data);
}
示例8: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
base.Write(writer, parameters);
// write structure data
writer.Write(this.Unknown_70h);
writer.Write(this.Unknown_74h);
writer.Write(this.Unknown_78h);
writer.Write(this.Unknown_7Ch);
}
示例9: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// update structure data
this.p1 = (ulong)(this.p1data != null ? this.p1data.Position : 0);
// write structure data
writer.Write(this.Unknown_0h);
writer.Write(this.Unknown_4h);
writer.Write(this.p1);
}
示例10: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
this.DataPointer = (ulong)(this.data != null ? this.data.Position : 0);
base.Write(writer, parameters);
// update structure data
// write structure data
}
示例11: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// update structure data
//this.DataLength = (uint)(this.Data != null ? this.Data.Count : 0);
this.DataPointer = (ulong)(this.Data != null ? this.Data.Position : 0);
// write structure data
writer.Write(this.Hash);
writer.Write(this.DataLength);
writer.Write(this.DataPointer);
}
示例12: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// write structure data
writer.Write(this.Unknown_0h);
writer.Endianess = Endianess.BigEndian;
writer.Write(this.length);
writer.Endianess = Endianess.LittleEndian;
writer.WriteBlock(data);
}
示例13: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// write structure data
writer.Write(this.Unknown_0h);
writer.Write(this.Unknown_4h);
writer.Write(this.SystemPagesCount);
writer.Write(this.GraphicsPagesCount);
writer.Write(this.Unknown_Ah);
writer.Write(this.Unknown_Ch);
writer.Write(this.Unknown_10h);
}
示例14: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// write structure data
writer.Write(this.PositionX);
writer.Write(this.PositionY);
writer.Write(this.PositionZ);
writer.Write(this.Unknown_Ch);
writer.Write(this.Unknown_Eh);
writer.Write(this.Unknown_10h);
writer.Write(this.Unknown_12h);
}
示例15: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// write structure data
writer.Write(this.DataType);
writer.Write(this.Unknown_1h);
writer.Write(this.Unknown_2h);
writer.Write(this.Unknown_4h);
writer.Write(this.DataPointer);
// DONT WRITE DATA
}