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