Files
test/Assets/PerfectWorld/Scripts/Move/CECPlayer.Task.cs
2026-01-13 10:55:51 +07:00

18 lines
539 B
C#

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);
}
}
}