Files
test/Assets/PerfectWorld/Scripts/Move/CECPlayer.Task.cs

11 lines
296 B
C#

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