本文整理汇总了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();
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例7: Parse
public void Parse(GameBitBuffer buffer)
{
OwnerID = buffer.ReadUInt(32);
EquipmentSlot = buffer.ReadInt(5) + (-1);
Column = buffer.ReadInt(32);
Row = buffer.ReadInt(32);
}
示例8: Parse
public override void Parse(GameBitBuffer buffer)
{
ActorID = buffer.ReadUInt(32);
Field1 = new NetAttributeKeyValue();
Field1.Parse(buffer);
Field1.ParseValue(buffer);
}
示例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);
}
}
示例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);
}
示例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); }
}
示例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);
}
}
示例13: Parse
public override void Parse(GameBitBuffer buffer)
{
EnterPosition = new Vector3D();
EnterPosition.Parse(buffer);
WorldID = buffer.ReadUInt(32);
WorldSNO = buffer.ReadInt(32);
}
示例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);
}
示例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);
}