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


C# GameBitBuffer.ReadUInt方法代码示例

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


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

示例1: 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

示例2: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     UsedItem = buffer.ReadUInt(32);
     Field1 = buffer.ReadInt(3) + (-1);
     UsedOnItem = buffer.ReadUInt(32);
     Location = new WorldPlace();
     Location.Parse(buffer);
 }
开发者ID:loonbg,项目名称:mooege,代码行数:8,代码来源:InventoryRequestUseMessage.cs

示例3: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     ChunkID = buffer.ReadUInt(32);
     SceneSNO = buffer.ReadInt(32);
     Transform = new PRTransform();
     Transform.Parse(buffer);
     WorldID = buffer.ReadUInt(32);
     MiniMapVisibility = buffer.ReadInt(3);
 }
开发者ID:rosebud,项目名称:mooege,代码行数:9,代码来源:MapRevealSceneMessage.cs

示例4: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     ActorID = buffer.ReadUInt(32);
     Field1 = new uint[9];
     for (int i = 0; i < Field1.Length; i++) Field1[i] = buffer.ReadUInt(32);
     PlayLineParams = new PlayLineParams();
     PlayLineParams.Parse(buffer);
     Duration = buffer.ReadInt(32);
 }
开发者ID:loonbg,项目名称:mooege,代码行数:9,代码来源:PlayConvLineMessage.cs

示例5: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     WorldID = buffer.ReadUInt(32);
     SceneSpec = new SceneSpecification();
     SceneSpec.Parse(buffer);
     ChunkID = buffer.ReadUInt(32);
     SceneSNO = buffer.ReadInt(32);
     Transform = new PRTransform();
     Transform.Parse(buffer);
     ParentChunkID = buffer.ReadUInt(32);
     SceneGroupSNO = buffer.ReadInt(32);
     arAppliedLabels = new int /* gbid */[buffer.ReadInt(9)];
     for (int i = 0; i < arAppliedLabels.Length; i++) arAppliedLabels[i] = buffer.ReadInt(32);
 }
开发者ID:loonbg,项目名称:mooege,代码行数:14,代码来源:RevealSceneMessage.cs

示例6: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(3);
     Field1 = buffer.ReadInt(5);
     PetId = buffer.ReadUInt(32);
     Field3 = buffer.ReadInt(5) + (-1);
 }
开发者ID:ncoop23,项目名称:mooege,代码行数:7,代码来源:PetMessage.cs

示例7: Parse

 public void Parse(GameBitBuffer buffer)
 {
     OwnerID = buffer.ReadUInt(32);
     EquipmentSlot = buffer.ReadInt(5) + (-1);
     Column = buffer.ReadInt(32);
     Row = buffer.ReadInt(32);
 }
开发者ID:loonbg,项目名称:mooege,代码行数:7,代码来源:InvLoc.cs

示例8: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     ActorID = buffer.ReadUInt(32);
     Field1 = new NetAttributeKeyValue();
     Field1.Parse(buffer);
     Field1.ParseValue(buffer);
 }
开发者ID:loonbg,项目名称:mooege,代码行数:7,代码来源:AttributeSetValueMessage.cs

示例9: 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

示例10: Parse

        public IVector2D InventoryLocation; // Row, column

        public void Parse(GameBitBuffer buffer)
        {
            OwnerID = buffer.ReadUInt(32);
            EquipmentSlot = buffer.ReadInt(5) + (-1);
            InventoryLocation = new IVector2D();
            InventoryLocation.Parse(buffer);
        }
开发者ID:rosebud,项目名称:mooege,代码行数:9,代码来源:InventoryLocationMessageData.cs

示例11: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     ActorID = buffer.ReadUInt(32);
     atKeyVals = new NetAttributeKeyValue[buffer.ReadInt(4)];
     for (int i = 0; i < atKeyVals.Length; i++) { atKeyVals[i] = new NetAttributeKeyValue(); atKeyVals[i].Parse(buffer); }
     for (int i = 0; i < atKeyVals.Length; i++) { atKeyVals[i].ParseValue(buffer); }
 }
开发者ID:loonbg,项目名称:mooege,代码行数:7,代码来源:AttributesSetValuesMessage.cs

示例12: 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

示例13: Parse

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

示例14: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     ActorID = buffer.ReadUInt(32);
     Field1 = buffer.ReadInt(2);
     aAffixGBIDs = new int /* gbid */[buffer.ReadInt(6)];
     for (int i = 0; i < aAffixGBIDs.Length; i++) aAffixGBIDs[i] = buffer.ReadInt(32);
 }
开发者ID:bryan77,项目名称:mooege,代码行数:7,代码来源:AffixMessage.cs

示例15: Parse

 public override void Parse(GameBitBuffer buffer)
 {
     ActorID = buffer.ReadUInt(32);
     tNPCInteraction = new NPCInteraction[buffer.ReadInt(5)];
     for (int i = 0; i < tNPCInteraction.Length; i++) { tNPCInteraction[i] = new NPCInteraction(); tNPCInteraction[i].Parse(buffer); }
     Type = (NPCInteractOptionsType) buffer.ReadInt(2);
 }
开发者ID:loonbg,项目名称:mooege,代码行数:7,代码来源:NPCInteractOptionsMessage.cs


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