• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# ResourceDataWriter类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了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;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# ResourceDictionary类代码示例发布时间:2022-05-24
下一篇:
C# ResourceDataReader类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap