本文整理汇总了C#中ResourceDataWriter.Write方法的典型用法代码示例。如果您正苦于以下问题:C# ResourceDataWriter.Write方法的具体用法?C# ResourceDataWriter.Write怎么用?C# ResourceDataWriter.Write使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ResourceDataWriter
的用法示例。
在下文中一共展示了ResourceDataWriter.Write方法的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.X);
writer.Write(this.Y);
writer.Write(this.Z);
}
示例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.DataType);
writer.Write(this.DataLength);
writer.Write(this.DataPointer);
}
示例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.BlockIndex);
writer.Write(this.OffsetDiv16);
writer.Write(this.Unknown_4h);
}
示例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.Flags);
writer.Write(this.Stride);
writer.Write(this.Unknown_6h);
writer.Write(this.Count);
writer.Write(this.Types);
}
示例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.NameHash);
writer.Write(this.DataOffset);
writer.Write(this.DataType);
writer.Write(this.Unknown_Ah);
writer.Write(this.RefNameHash);
}
示例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)
{
// 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);
}
示例11: 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);
}
示例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.DataType);
writer.Write(this.Unknown_1h);
writer.Write(this.Unknown_2h);
writer.Write(this.Unknown_4h);
writer.Write(this.DataPointer);
// DONT WRITE DATA
}
示例13: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// update structure data
this.UnkPtr_8h = (ulong)(this.UnkData_8h != null ? this.UnkData_8h.Position : 0);
this.length = (uint)(this.UnkData_8h != null ? this.UnkData_8h.Count : 0);
// write structure data
writer.Write(this.Unknown_0h);
writer.Write(this.Unknown_4h);
writer.Write(this.UnkPtr_8h);
writer.Write(this.length);
writer.Write(this.Unknown_14h);
}
示例14: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
// update structure data
this.EntriesPointer = (ulong)(this.Entries != null ? this.Entries.Position : 0);
this.EntriesCount = (uint)(this.Entries != null ? this.Entries.Count : 0);
// write structure data
writer.Write(this.NameHash);
writer.Write(this.Unknown_4h);
writer.Write(this.EntriesPointer);
writer.Write(this.EntriesCount);
writer.Write(this.Unknown_14h);
}
示例15: Write
/// <summary>
/// Writes the data-block to a stream.
/// </summary>
public override void Write(ResourceDataWriter writer, params object[] parameters)
{
base.Write(writer, parameters);
// update structure data
this.EntriesPointer = (ulong)(this.Entries != null ? this.Entries.Position : 0);
this.EntriesCount1 = (ushort)(this.Entries != null ? this.Entries.Count : 0);
// write structure data
writer.Write(this.EntriesPointer);
writer.Write(this.EntriesCount1);
writer.Write(this.EntriesCount2);
writer.Write(this.Unknown_1Ch);
}