Exemple #1
0
        void Client_ReceiveWeaponVerticalAngle(RemoteEntityWorld sender, ReceiveDataReader reader)
        {
            Radian value = reader.ReadRangedSingle(-MathFunctions.PI / 2, MathFunctions.PI / 2, 8);

            if (!reader.Complete())
            {
                return;
            }
            client_weaponVerticalAngle = value;
        }
 void Client_ReceiveWeaponVerticalAngle( RemoteEntityWorld sender, ReceiveDataReader reader )
 {
     Radian value = reader.ReadRangedSingle( -MathFunctions.PI / 2, MathFunctions.PI / 2, 8 );
     if( !reader.Complete() )
         return;
     client_weaponVerticalAngle = value;
 }