本文整理汇总了C#中GameBitBuffer.ReadFloat32方法的典型用法代码示例。如果您正苦于以下问题:C# GameBitBuffer.ReadFloat32方法的具体用法?C# GameBitBuffer.ReadFloat32怎么用?C# GameBitBuffer.ReadFloat32使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GameBitBuffer
的用法示例。
在下文中一共展示了GameBitBuffer.ReadFloat32方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: 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);
}
}
示例2: Parse
public override void Parse(GameBitBuffer buffer)
{
Field0 = buffer.ReadInt(32);
if (buffer.ReadBool())
{
Field1 = new Vector3D();
Field1.Parse(buffer);
}
if (buffer.ReadBool())
{
Field2 = 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);
}
}
示例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())
{
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);
}
}
示例4: Parse
public override void Parse(GameBitBuffer buffer)
{
Field0 = buffer.ReadInt(32);
Field1 = buffer.ReadInt(32);
Field2 = buffer.ReadInt(32);
Field3 = buffer.ReadInt(32);
Field4 = buffer.ReadFloat32();
Field5 = buffer.ReadFloat32();
Field6 = buffer.ReadInt(32);
}
示例5: 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);
}
示例6: 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();
}
示例7: 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(25);
FlyingAnimationTagID = buffer.ReadInt(21) + (-1);
LandingAnimationTagID = buffer.ReadInt(21) + (-1);
Gravity = buffer.ReadFloat32();
PowerSNO = buffer.ReadInt(32);
Bounce = buffer.ReadFloat32();
DestinationZ = buffer.ReadFloat32();
}
示例8: Parse
public void Parse(GameBitBuffer buffer)
{
Field0 = buffer.ReadFloat32();
Field1 = new PRTransform();
Field1.Parse(buffer);
Field2 = buffer.ReadInt(32);
}
示例9: Parse
public void Parse(GameBitBuffer buffer)
{
Duration = buffer.ReadInt(32);
AnimationSNO = buffer.ReadInt(32);
PermutationIndex = buffer.ReadInt(32);
Speed = buffer.ReadFloat32();
}
示例10: Parse
public void Parse(GameBitBuffer buffer)
{
Field0 = buffer.ReadInt(32);
Field1 = buffer.ReadInt(32);
Field2 = buffer.ReadInt(32);
Field3 = buffer.ReadFloat32();
}
示例11: 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);
}
示例12: Parse
public void Parse(GameBitBuffer buffer)
{
Scale = buffer.ReadFloat32();
Transform = new PRTransform();
Transform.Parse(buffer);
WorldID = buffer.ReadUInt(32);
}
示例13: 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);
}
示例14: Parse
public override void Parse(GameBitBuffer buffer)
{
ActorID = buffer.ReadUInt(32);
Field1 = buffer.ReadInt(4);
Field2 = buffer.ReadFloat32();
tAnim = new PlayAnimationMessageSpec[buffer.ReadInt(2)];
for (int i = 0; i < tAnim.Length; i++) { tAnim[i] = new PlayAnimationMessageSpec(); tAnim[i].Parse(buffer); }
}
示例15: Parse
public override void Parse(GameBitBuffer buffer)
{
Field0 = buffer.ReadInt(32);
Field1 = buffer.ReadInt(32);
Field2 = new WorldPlace();
Field2.Parse(buffer);
if (buffer.ReadBool())
{
Field3 = buffer.ReadInt(4) + (-1);
}
Field4 = buffer.ReadInt(32);
if (buffer.ReadBool())
{
Field5 = buffer.ReadFloat32();
}
Field6 = buffer.ReadInt(4);
Field7 = buffer.ReadInt(6);
if (buffer.ReadBool())
{
Field8 = buffer.ReadInt(32);
}
if (buffer.ReadBool())
{
Field9 = buffer.ReadInt(32);
}
if (buffer.ReadBool())
{
Field10 = buffer.ReadInt(32);
}
if (buffer.ReadBool())
{
Field11 = buffer.ReadInt(32);
}
if (buffer.ReadBool())
{
Field12 = buffer.ReadInt(32);
}
if (buffer.ReadBool())
{
Field13 = buffer.ReadFloat32();
}
if (buffer.ReadBool())
{
Field14 = buffer.ReadFloat32();
}
}