本文整理汇总了C#中GameBitBuffer.ReadCharArray方法的典型用法代码示例。如果您正苦于以下问题:C# GameBitBuffer.ReadCharArray方法的具体用法?C# GameBitBuffer.ReadCharArray怎么用?C# GameBitBuffer.ReadCharArray使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GameBitBuffer
的用法示例。
在下文中一共展示了GameBitBuffer.ReadCharArray方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Parse
public override void Parse(GameBitBuffer buffer)
{
Field0 = buffer.ReadInt(32);
Field1 = buffer.ReadCharArray(128);
Field2 = buffer.ReadCharArray(49);
Field3 = buffer.ReadInt(4) + (2);
}
示例2: Parse
public override void Parse(GameBitBuffer buffer)
{
Field0 = buffer.ReadInt(3);
Field1 = buffer.ReadCharArray(128);
ToonName = buffer.ReadCharArray(101);
Field3 = buffer.ReadInt(5) + (-1);
Field4 = buffer.ReadInt(3) + (-1);
snoActorPortrait = buffer.ReadInt(32);
Field6 = buffer.ReadInt(7);
Field7 = new HeroStateData();
Field7.Parse(buffer);
Field8 = buffer.ReadBool();
Field9 = buffer.ReadInt(32);
Field10 = buffer.ReadInt(32);
}
示例3: Parse
public override void Parse(GameBitBuffer buffer)
{
Field0 = buffer.ReadCharArray(512);
Field1 = buffer.ReadInt(4) + (-1);
Field2 = new WorldPlace();
Field2.Parse(buffer);
Field3 = buffer.ReadInt(32);
}
示例4: 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);
}
}
示例5: Parse
public override void Parse(GameBitBuffer buffer)
{
Field0 = buffer.ReadCharArray(33);
Field1 = buffer.ReadInt(3) + (-1);
Field2 = buffer.ReadInt(32);
Field3 = buffer.ReadInt(32);
Field4 = buffer.ReadInt(32);
Field5 = buffer.ReadBool();
Field6 = buffer.ReadInt(32);
Field7 = buffer.ReadInt(16);
Field8 = buffer.ReadInt(3) + (1);
Field9 = buffer.ReadInt(32);
Field10 = buffer.ReadInt(32);
Field11 = (short)buffer.ReadInt(16);
}
示例6: Parse
public override void Parse(GameBitBuffer buffer)
{
Field0 = buffer.ReadInt(32);
Field1 = buffer.ReadInt(32);
Field2 = buffer.ReadInt(32);
Field3 = new Vector3D();
Field3.Parse(buffer);
Field4 = new Vector3D();
Field4.Parse(buffer);
Field5 = buffer.ReadFloat32();
Field6 = buffer.ReadFloat32();
Field7 = buffer.ReadInt(32);
Field8 = new RGBAColor();
Field8.Parse(buffer);
Field9 = buffer.ReadCharArray(128);
}
示例7: Parse
public override void Parse(GameBitBuffer buffer)
{
PlayerIndex = buffer.ReadInt(3);
ToonId = new EntityId();
ToonId.Parse(buffer);
GameAccountId = new EntityId();
GameAccountId.Parse(buffer);
ToonName = buffer.ReadCharArray(101);
Field3 = buffer.ReadInt(5) + (-1);
Field4 = buffer.ReadInt(3) + (-1);
snoActorPortrait = buffer.ReadInt(32);
Field6 = buffer.ReadInt(7);
StateData = new HeroStateData();
StateData.Parse(buffer);
Field8 = buffer.ReadBool();
Field9 = buffer.ReadInt(32);
ActorID = buffer.ReadUInt(32);
}
示例8: Parse
public void Parse(GameBitBuffer buffer)
{
snoConversation = buffer.ReadInt(32);
Field1 = buffer.ReadInt(32);
Field2 = buffer.ReadBool();
Field3 = buffer.ReadInt(32);
Field4 = buffer.ReadInt(32);
Field5 = buffer.ReadInt(32);
Field6 = buffer.ReadInt(32);
Field7 = buffer.ReadInt(32);
Field8 = buffer.ReadInt(32);
snoSpeakerActor = buffer.ReadInt(32);
Field10 = buffer.ReadCharArray(49);
Field11 = buffer.ReadInt(32);
Field12 = buffer.ReadInt(32);
Field13 = buffer.ReadInt(32);
Field14 = buffer.ReadInt(32);
Field15 = buffer.ReadInt(32);
}
示例9: Parse
public void Parse(GameBitBuffer buffer)
{
SNOConversation = buffer.ReadInt(32);
Field1 = buffer.ReadInt(32);
Field2 = buffer.ReadBool();
LineID = buffer.ReadInt(32);
Field4 = buffer.ReadInt(32);
Field5 = buffer.ReadInt(32);
Field6 = buffer.ReadInt(32);
Gender = (VoiceGender)buffer.ReadInt(32);
VoiceClassID = buffer.ReadInt(32);
snoSpeakerActor = buffer.ReadInt(32);
Name = buffer.ReadCharArray(49);
Field11 = buffer.ReadInt(32);
Field12 = buffer.ReadInt(32);
Field13 = buffer.ReadInt(32);
Field14 = buffer.ReadInt(32);
Field15 = buffer.ReadInt(32);
}
示例10: Parse
public void Parse(GameBitBuffer buffer)
{
SNOConversation = buffer.ReadInt(32);
Field1 = buffer.ReadInt(32);
Field2 = buffer.ReadBool();
Field3 = buffer.ReadBool();
LineID = buffer.ReadInt(32);
Speaker = buffer.ReadInt(32);
Field5 = buffer.ReadInt(32);
TextClass = (Class)buffer.ReadInt(32);
Gender = (VoiceGender)buffer.ReadInt(32);
AudioClass = (Class)buffer.ReadInt(32);
SNOSpeakerActor = buffer.ReadInt(32);
Name = buffer.ReadCharArray(49);
Field11 = buffer.ReadInt(32);
AnimationTag = buffer.ReadInt(32);
Duration = buffer.ReadInt(32);
Field14 = buffer.ReadInt(32);
Field15 = buffer.ReadInt(32);
}
示例11: Parse
public override void Parse(GameBitBuffer buffer)
{
SNOPackHash = buffer.ReadInt(32);
ProtocolHash = buffer.ReadInt(32);
Version = buffer.ReadCharArray(32);
}
示例12: Parse
public override void Parse(GameBitBuffer buffer)
{
Field0 = buffer.ReadInt(32);
Field1 = buffer.ReadCharArray(512);
}
示例13: Parse
public void Parse(GameBitBuffer buffer)
{
Field0 = buffer.ReadCharArray(64);
}
示例14: Parse
public override void Parse(GameBitBuffer buffer)
{
Field0 = buffer.ReadInt(3);
Field1 = new EntityId();
Field1.Parse(buffer);
Field2 = new EntityId();
Field2.Parse(buffer);
Field3 = buffer.ReadCharArray(49);
Field4 = buffer.ReadInt(5) + (-1);
Field5 = buffer.ReadInt(3) + (-1);
snoActorPortrait = buffer.ReadInt(32);
Field7 = buffer.ReadInt(7);
Field8 = new HeroStateData();
Field8.Parse(buffer);
Field9 = buffer.ReadBool();
Field10 = buffer.ReadInt(32);
Field11 = buffer.ReadInt(32);
}
示例15: Parse
public override void Parse(GameBitBuffer buffer)
{
Name = buffer.ReadCharArray(49);
Field1 = buffer.ReadInt(32);
Field2 = buffer.ReadInt(30);
}