Wombat.MamaMsg.getF32 C# (CSharp) Метод

getF32() публичный Метод

Get a float (f32) field.
public getF32 ( string name, ushort fid, float valueIfMissing ) : float
name string
fid ushort
valueIfMissing float
Результат float
        public float getF32(
			string name,
			ushort fid,
			float valueIfMissing)
        {
            float result = 0.0f;
            if (tryF32 (name, fid, ref result))
                return result;
            else
                return valueIfMissing;
        }

Same methods

MamaMsg::getF32 ( Wombat.MamaFieldDescriptor descriptor ) : float
MamaMsg::getF32 ( Wombat.MamaFieldDescriptor descriptor, float valueIfMissing ) : float
MamaMsg::getF32 ( string name, ushort fid ) : float
MamaMsg