本文整理汇总了C#中ResourceDataWriter类的典型用法代码示例。如果您正苦于以下问题:C# ResourceDataWriter类的具体用法?C# ResourceDataWriter怎么用?C# ResourceDataWriter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ResourceDataWriter类属于命名空间,在下文中一共展示了ResourceDataWriter类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:10,代码来源:Unknown_T_004_infos_entry.cs
示例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);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:10,代码来源:Unknown_ND_003.cs
示例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);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:10,代码来源:BoundVertex_GTA5_pc.cs
示例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);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:10,代码来源:Unknown_T_004.cs
示例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);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:12,代码来源:MetaFieldInfo_GTA5_pc.cs
示例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);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:12,代码来源:VertexDeclaration_GTA5_pc.cs
示例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);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:12,代码来源:Unknown_META_001.cs
示例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);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:13,代码来源:BoundCylinder_GTA5_pc.cs
示例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);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:13,代码来源:Unknown_P_017.cs
示例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
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:13,代码来源:Unknown_M_003_00000011.cs
示例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);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:14,代码来源:MetaDataBlock_GTA5_pc.cs
示例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);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:14,代码来源:Unknown_T_001.cs
示例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);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:14,代码来源:PagesInfo_GTA5_pc.cs
示例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);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:14,代码来源:WaypointRecordEntry_GTA5_pc.cs
示例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
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:14,代码来源:ShaderParameter_GTA5_pc.cs
示例16: 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.len1);
writer.Write(this.len2);
writer.Write(this.len3);
writer.Write(this.Unknown_Eh);
writer.Write(this.Data1);
writer.Write(this.Data2);
writer.Write(this.Data3);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:15,代码来源:Expression_Unk1_GTA5_pc.cs
示例17: 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);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:16,代码来源:Unknown_T_002.cs
示例18: 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);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:16,代码来源:Unknown_META_002.cs
示例19: 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.VFT);
writer.Write(this.Unknown_4h);
writer.Write(this.Unknown_8h);
writer.Write(this.Unknown_Ch);
writer.Write(this.cnt);
writer.Write(this.Unknown_14h);
writer.Write(this.Unknown_18h);
writer.Write(this.Unknown_1Ch);
writer.WriteBlock(this.Data);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:16,代码来源:Unknown_F_002.cs
示例20: 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);
//this.c1a = (ushort)(this.p1data != null ? this.p1data.Count : 0);
// write structure data
writer.Write(this.p1);
writer.Write(this.c1a);
writer.Write(this.c1b);
writer.Write(this.Unknown_Ch);
writer.Write(this.Unknown_10h);
writer.Write(this.Unknown_14h);
}
开发者ID:isti37,项目名称:gta-toolkit,代码行数:17,代码来源:Unknown_P_013.cs
注:本文中的ResourceDataWriter类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论