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


C# Octree.Parse方法代码示例

本文整理汇总了C#中Octree.Parse方法的典型用法代码示例。如果您正苦于以下问题:C# Octree.Parse方法的具体用法?C# Octree.Parse怎么用?C# Octree.Parse使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Octree的用法示例。


在下文中一共展示了Octree.Parse方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Parse

 public void Parse(GameBitBuffer buffer)
 {
     dwFlags = buffer.ReadInt(32);
     nBoneCount = buffer.ReadInt(32);
     serBoneStructure = new SerializeData();
     serBoneStructure.Parse(buffer);
     Field3 = new DT_VARIABLEARRAY();
     Field3.Parse(buffer);
     Field4 = new LookAtData();
     Field4.Parse(buffer);
     Field5 = buffer.ReadInt(32);
     Field6 = new DT_VARIABLEARRAY();
     Field6.Parse(buffer);
     serBonePulses = new SerializeData();
     serBonePulses.Parse(buffer);
     Field8 = new GeoSet[2];
     for(int i = 0;i < _Field8.Length;i++)
     {
         _Field8[i] = new GeoSet();
         _Field8[i].Parse(buffer);
     }
     Field9 = new Sphere();
     Field9.Parse(buffer);
     nCollisionCapsuleCount = buffer.ReadInt(32);
     serCollisionCapsules = new SerializeData();
     serCollisionCapsules.Parse(buffer);
     Field12 = new DT_VARIABLEARRAY();
     Field12.Parse(buffer);
     nHardpointCount = buffer.ReadInt(32);
     serHardpoints = new SerializeData();
     serHardpoints.Parse(buffer);
     Field15 = new DT_VARIABLEARRAY();
     Field15.Parse(buffer);
     Field16 = new Vector3D();
     Field16.Parse(buffer);
     tOctreeVisualMesh = new Octree();
     tOctreeVisualMesh.Parse(buffer);
     aabbBounds = new AABB();
     aabbBounds.Parse(buffer);
     nLoopConstraintCount = buffer.ReadInt(32);
     serLoopConstraints = new SerializeData();
     serLoopConstraints.Parse(buffer);
     Field21 = new DT_VARIABLEARRAY();
     Field21.Parse(buffer);
     uRagdollDegrade = buffer.ReadInt(32);
     Field23 = buffer.ReadCharArray(256);
     Field24 = buffer.ReadCharArray(256);
     Field25 = buffer.ReadCharArray(256);
     Field26 = buffer.ReadCharArray(256);
     Field27 = buffer.ReadInt(32);
     Field28 = buffer.ReadFloat32();
     Field29 = buffer.ReadInt(32);
 }
开发者ID:starcasters,项目名称:type-extractor,代码行数:53,代码来源:classgenerator-output.cs


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