当前位置: 首页>>代码示例>>C#>>正文


C# ResourceDataWriter类代码示例

本文整理汇总了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);
 }
开发者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


注:本文中的ResourceDataWriter类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。