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


C# Vector3D.Parse方法代码示例

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


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

示例1: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     EnterPosition = new Vector3D();
     EnterPosition.Parse(buffer);
     WorldID = buffer.ReadUInt(32);
     WorldSNO = buffer.ReadInt(32);
 }
开发者ID:loonbg,项目名称:mooege,代码行数:7,代码来源:EnterWorldMessage.cs

示例2: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = new Vector3D();
     Field0.Parse(buffer);
     Field1 = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(32);
 }
开发者ID:loonbg,项目名称:mooege,代码行数:7,代码来源:ProjectileStickMessage.cs

示例3: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     ActorId = buffer.ReadInt(32);
     if (buffer.ReadBool())
     {
         Position = new Vector3D();
         Position.Parse(buffer);
     }
     if (buffer.ReadBool())
     {
         Angle = buffer.ReadFloat32();
     }
     if (buffer.ReadBool())
     {
         Field3 = buffer.ReadBool();
     }
     if (buffer.ReadBool())
     {
         Speed = buffer.ReadFloat32();
     }
     if (buffer.ReadBool())
     {
         Field5 = buffer.ReadInt(25);
     }
     if (buffer.ReadBool())
     {
         AnimationTag = buffer.ReadInt(21) + (-1);
     }
     if (buffer.ReadBool())
     {
         Field7 = buffer.ReadInt(32);
     }
 }
开发者ID:wow4all,项目名称:mooege,代码行数:33,代码来源:PlayerMovementMessage.cs

示例4: Parse

 public void Parse(GameBitBuffer buffer)
 {
     Field0 = new Vector3D();
         Field0.Parse(buffer);
         Field1 = new Vector3D();
         Field1.Parse(buffer);
 }
开发者ID:d3protocol,项目名称:d3Protocol2LUA,代码行数:7,代码来源:dprotocolClass.cs

示例5: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     ActorID = buffer.ReadInt(32);
     SNOParticleEffect = buffer.ReadInt(32);
     SNOFlippyActor = buffer.ReadInt(32);
     Destination = new Vector3D();
     Destination.Parse(buffer);
 }
开发者ID:ralje,项目名称:mooege,代码行数:8,代码来源:FlippyMessage.cs

示例6: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     ActorID = buffer.ReadInt(32);
     SNOParticleEffect = buffer.ReadInt(32);
     SNOAppearance = buffer.ReadInt(32);
     Field3 = new Vector3D();
     Field3.Parse(buffer);
 }
开发者ID:wow4all,项目名称:mooege,代码行数:8,代码来源:FlippyMessage.cs

示例7: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = new Vector3D();
     Field1.Parse(buffer);
     Field2 = buffer.ReadFloat32();
     Field3 = buffer.ReadBool();
     Field4 = buffer.ReadInt(24);
 }
开发者ID:ncoop23,项目名称:mooege,代码行数:9,代码来源:ACDTranslateSnappedMessage.cs

示例8: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     ActorId = buffer.ReadInt(32);
     Velocity = new Vector3D();
     Velocity.Parse(buffer);
     Field2 = buffer.ReadInt(25);
     AnimationTag = buffer.ReadInt(21) + (-1);
     Field4 = buffer.ReadInt(32);
 }
开发者ID:loonbg,项目名称:mooege,代码行数:9,代码来源:ACDTranslateFixedMessage.cs

示例9: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     Tick = buffer.ReadInt(32);
     Field1 = buffer.ReadInt(4);
     Position = new Vector3D();
     Position.Parse(buffer);
     Angle = buffer.ReadFloat32();
     Speed = buffer.ReadFloat32();
     AnimationTag = buffer.ReadInt(32);
     Field6 = buffer.ReadInt(21) + (-1);
 }
开发者ID:RC1140,项目名称:mooege,代码行数:11,代码来源:ACDClientTranslateMessage.cs

示例10: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = new Vector3D();
     Field1.Parse(buffer);
     Field2 = new Vector3D();
     Field2.Parse(buffer);
     Field3 = buffer.ReadInt(32);
     Field4 = buffer.ReadInt(32);
     Field5 = buffer.ReadInt(32);
     Field6 = new DPathSinData();
     Field6.Parse(buffer);
 }
开发者ID:wow4all,项目名称:mooege,代码行数:13,代码来源:ACDTranslateDetPathSpiralMessage.cs

示例11: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     ActorId = buffer.ReadInt(32);
     Start = new Vector3D();
     Start.Parse(buffer);
     Velocity = new Vector3D();
     Velocity.Parse(buffer);
     Field3 = buffer.ReadInt(24);
     FlyingAnimationTagID = buffer.ReadInt(21) + (-1);
     LandingAnimationTagID = buffer.ReadInt(21) + (-1);
     Field6 = buffer.ReadFloat32();
     Field7 = buffer.ReadInt(32);
     Field8 = buffer.ReadFloat32();
 }
开发者ID:ncoop23,项目名称:mooege,代码行数:14,代码来源:ACDTranslateArcMessage.cs

示例12: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = buffer.ReadInt(4);
     Field2 = buffer.ReadInt(32);
     Field3 = buffer.ReadInt(32);
     Field4 = new Vector3D();
     Field4.Parse(buffer);
     Field5 = buffer.ReadFloat32();
     Field6 = new Vector3D();
     Field6.Parse(buffer);
     Field7 = buffer.ReadInt(32);
     Field8 = buffer.ReadInt(32);
     Field9 = buffer.ReadInt(32);
     Field10 = buffer.ReadInt(32);
     Field11 = buffer.ReadInt(32);
     Field12 = buffer.ReadFloat32();
     Field13 = buffer.ReadFloat32();
     Field14 = new DPathSinData();
     Field14.Parse(buffer);
 }
开发者ID:wow4all,项目名称:mooege,代码行数:21,代码来源:ACDTranslateDetPathSinMessage.cs

示例13: Parse

 public void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     serVertices = new SerializeData();
     serVertices.Parse(buffer);
     Field2 = new DT_VARIABLEARRAY();
     Field2.Parse(buffer);
     Field3 = buffer.ReadInt(32);
     serTriangles = new SerializeData();
     serTriangles.Parse(buffer);
     Field5 = new DT_VARIABLEARRAY();
     Field5.Parse(buffer);
     Field6 = buffer.ReadInt(32);
     serPlanes = new SerializeData();
     serPlanes.Parse(buffer);
     Field8 = new DT_VARIABLEARRAY();
     Field8.Parse(buffer);
     Field9 = new Matrix3x3();
     Field9.Parse(buffer);
     Field10 = new Vector3D();
     Field10.Parse(buffer);
     Field11 = buffer.ReadFloat32();
     Field12 = buffer.ReadFloat32();
 }
开发者ID:starcasters,项目名称:type-extractor,代码行数:24,代码来源:classgenerator-output.cs

示例14: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = buffer.ReadInt(4);
     Field2 = new Vector3D();
     Field2.Parse(buffer);
     Field3 = buffer.ReadFloat32();
     Field4 = buffer.ReadFloat32();
     Field5 = buffer.ReadInt(32);
     Field6 = buffer.ReadInt(21) + (-1);
     if(buffer.ReadBool())
         Field7 = buffer.ReadInt(32);
 }
开发者ID:neoxd2,项目名称:mooege,代码行数:13,代码来源:classgenerator-output.cs

示例15: Parse

        public uint WorldID; // World's DynamicID

        public void Parse(GameBitBuffer buffer)
        {
            Position = new Vector3D();
            Position.Parse(buffer);
            WorldID = buffer.ReadUInt(32);
        }
开发者ID:loonbg,项目名称:mooege,代码行数:8,代码来源:WorldPlace.cs


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