本文整理匯總了C#中gslibrary.GameBitBuffer.ReadFloat32方法的典型用法代碼示例。如果您正苦於以下問題:C# GameBitBuffer.ReadFloat32方法的具體用法?C# GameBitBuffer.ReadFloat32怎麽用?C# GameBitBuffer.ReadFloat32使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類gslibrary.GameBitBuffer
的用法示例。
在下文中一共展示了GameBitBuffer.ReadFloat32方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: Parse
public override void Parse(GameBitBuffer buffer)
{
Field0 = buffer.ReadInt(32);
Field1 = buffer.ReadInt(32);
Field2 = buffer.ReadFloat32();
Field3 = buffer.ReadFloat32();
Field4 = buffer.ReadFloat32();
Field5 = buffer.ReadInt(32);
Field6 = buffer.ReadFloat32();
Field7 = buffer.ReadFloat32();
Field8 = buffer.ReadFloat32();
Field9 = buffer.ReadFloat32();
Field10 = buffer.ReadFloat32();
Field11 = buffer.ReadFloat32();
Field12 = buffer.ReadFloat32();
Field13 = buffer.ReadInt(32);
serPermutations = new SerializeData();
serPermutations.Parse(buffer);
//still checking variablearrays
this.Permutations = new List<SoundPermutation>( buffer.ReadInt(0) );
for(int loop12 = 0; loop12 < _Permutations.Count; loop12++)
{
_Permutations[loop12] = new SoundPermutation();
_Permutations[loop12].Parse(buffer);
}
Field16 = buffer.ReadInt(32);
Field17 = buffer.ReadInt(32);
Field18 = buffer.ReadInt(32);
serDspEffects = new SerializeData();
serDspEffects.Parse(buffer);
//still checking variablearrays
this.DspEffects = new List<DspEffect>( buffer.ReadInt(0) );
for(int loop12 = 0; loop12 < _DspEffects.Count; loop12++)
{
_DspEffects[loop12] = new DspEffect();
_DspEffects[loop12].Parse(buffer);
}
}