namespace BrewMonster { partial class CECPlayer { protected int m_iMoneyCnt; // Amount of money the player has public int GetMoneyAmount() { return m_iMoneyCnt; } public byte GetShapeMask() { // restore the original data from 8~15 bit return (byte)((m_iShape & 0xff00) >> 8); } } }