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


C# GameBitBuffer.ReadBool方法代码示例

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


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

示例1: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = 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())
     {
         Field4 = buffer.ReadFloat32();
     }
     if (buffer.ReadBool())
     {
         Field5 = buffer.ReadInt(24);
     }
     if (buffer.ReadBool())
     {
         Field6 = buffer.ReadInt(21) + (-1);
     }
     if (buffer.ReadBool())
     {
         Field7 = buffer.ReadInt(32);
     }
 }
开发者ID:geiz123,项目名称:mooege-1,代码行数:33,代码来源:ACDTranslateNormalMessage.cs

示例2: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(5);
     Field3 = buffer.ReadInt(2) + (-1);
     if (buffer.ReadBool())
     {
         Field4 = new WorldLocationMessageData();
         Field4.Parse(buffer);
     }
     if (buffer.ReadBool())
     {
         Field5 = new InventoryLocationMessageData();
         Field5.Parse(buffer);
     }
     Field6 = new GBHandle();
     Field6.Parse(buffer);
     Field7 = buffer.ReadInt(32);
     Field8 = buffer.ReadInt(32);
     Field9 = buffer.ReadInt(4) + (-1);
     Field10 = (byte)buffer.ReadInt(8);
     if (buffer.ReadBool())
     {
         Field11 = buffer.ReadInt(32);
     }
     if (buffer.ReadBool())
     {
         Field12 = buffer.ReadInt(32);
     }
     if (buffer.ReadBool())
     {
         Field13 = buffer.ReadInt(32);
     }
 }
开发者ID:Xtracti0n,项目名称:d3sharp,代码行数:35,代码来源:ACDEnterKnownMessage.cs

示例3: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     ActorID = buffer.ReadUInt(32);
     ActorSNOId = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(6);
     Field3 = buffer.ReadInt(2) + (-1);
     if (buffer.ReadBool())
     {
         WorldLocation = new WorldLocationMessageData();
         WorldLocation.Parse(buffer);
     }
     if (buffer.ReadBool())
     {
         InventoryLocation = new InventoryLocationMessageData();
         InventoryLocation.Parse(buffer);
     }
     GBHandle = new GBHandle();
     GBHandle.Parse(buffer);
     Field7 = buffer.ReadInt(32);
     NameSNOId = buffer.ReadInt(32);
     Quality = buffer.ReadInt(4) + (-1);
     Field10 = (byte)buffer.ReadInt(8);
     if (buffer.ReadBool())
     {
         Field11 = buffer.ReadInt(32);
     }
     if (buffer.ReadBool())
     {
         MarkerSetSNO = buffer.ReadInt(32);
     }
     if (buffer.ReadBool())
     {
         MarkerSetIndex = buffer.ReadInt(32);
     }
 }
开发者ID:loonbg,项目名称:mooege,代码行数:35,代码来源:ACDEnterKnownMessage.cs

示例4: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     ActorID = buffer.ReadUInt(32);
     ActorSNO = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(5);
     Field3 = buffer.ReadInt(2) + (-1);
     if (buffer.ReadBool())
     {
         WorldLocation = new WorldLocationMessageData();
         WorldLocation.Parse(buffer);
     }
     if (buffer.ReadBool())
     {
         InventoryLocation = new InventoryLocationMessageData();
         InventoryLocation.Parse(buffer);
     }
     GBHandle = new GBHandle();
     GBHandle.Parse(buffer);
     Field7 = buffer.ReadInt(32);
     Field8 = buffer.ReadInt(32);
     Field9 = buffer.ReadInt(4) + (-1);
     Field10 = (byte)buffer.ReadInt(8);
     if (buffer.ReadBool())
     {
         Field11 = buffer.ReadInt(32);
     }
     if (buffer.ReadBool())
     {
         Field12 = buffer.ReadInt(32);
     }
     if (buffer.ReadBool())
     {
         Field13 = buffer.ReadInt(32);
     }
 }
开发者ID:rosebud,项目名称:mooege,代码行数:35,代码来源:ACDEnterKnownMessage.cs

示例5: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     snoQuest = buffer.ReadInt(32);
     snoLevelArea = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(32);
     Field3 = buffer.ReadBool();
     Field4 = buffer.ReadBool();
 }
开发者ID:Rianon,项目名称:mooege,代码行数:8,代码来源:QuestUpdateMessage.cs

示例6: Parse

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

示例7: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadCharArray(512);
     if (buffer.ReadBool())
     {
         Field1 = buffer.ReadInt(32);
     }
     if (buffer.ReadBool())
     {
         Field2 = buffer.ReadInt(32);
     }
 }
开发者ID:rotacioskapa,项目名称:mooege,代码行数:12,代码来源:DisplayGameTextMessage.cs

示例8: 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(25);
     if (buffer.ReadBool())
     {
         Field5 = buffer.ReadInt(16);
     }
 }
开发者ID:God601,项目名称:mooege,代码行数:13,代码来源:ACDTranslateSnappedMessage.cs

示例9: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     ActorId = buffer.ReadInt(32);
     Position = new Vector3D();
     Position.Parse(buffer);
     Angle = buffer.ReadFloat32();
     Field3 = buffer.ReadBool();
     Field4 = buffer.ReadInt(25);
     if (buffer.ReadBool())
     {
         Field5 = buffer.ReadInt(16);
     }
 }
开发者ID:loonbg,项目名称:mooege,代码行数:13,代码来源:ACDTranslateSnappedMessage.cs

示例10: 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())
     {
         TurnImmediately = 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:CommunityX,项目名称:mooege,代码行数:33,代码来源:ACDTranslateNormalMessage.cs

示例11: Parse

 public void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadBool();
     snoAffixStringList = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(32);
     Field3 = buffer.ReadInt(32);
 }
开发者ID:wow4all,项目名称:mooege,代码行数:7,代码来源:RareItemName.cs

示例12: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     HirelingIndex = buffer.ReadInt(2);
     Field1 = buffer.ReadBool();
     Field2 = buffer.ReadInt(32);
     Level = buffer.ReadInt(7);
 }
开发者ID:wow4all,项目名称:mooege,代码行数:7,代码来源:HirelingInfoUpdateMessage.cs

示例13: Parse

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

示例14: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     ActorID = buffer.ReadUInt(32);
     HitDealer = buffer.ReadUInt(32);
     Field2 = buffer.ReadInt(3) + (-1);
     Field3 = buffer.ReadBool();
 }
开发者ID:wow4all,项目名称:mooege,代码行数:7,代码来源:PlayHitEffectMessage.cs

示例15: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = new WorldPlace();
     Field1.Parse(buffer);
     Field2 = buffer.ReadInt(32);
     m_snoStringList = buffer.ReadInt(32);
     Field4 = buffer.ReadInt(32);
     Field5 = buffer.ReadFloat32();
     Field6 = buffer.ReadFloat32();
     Field7 = buffer.ReadFloat32();
     Field8 = buffer.ReadInt(32);
     Field9 = buffer.ReadBool();
     Field10 = buffer.ReadBool();
     Field11 = buffer.ReadBool();
     Field12 = buffer.ReadInt(32);
 }
开发者ID:wow4all,项目名称:mooege,代码行数:17,代码来源:MapMarkerInfoMessage.cs


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