File size: 529 Bytes
24b81cb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
class StatDebugObject
{
string m_Name;
float m_Value;
eRemoteDebugType m_Type;
void StatDebugObject(string name, float value, eRemoteDebugType type)
{
m_Name = name;
m_Value = value;
m_Type = type;
}
void Debug()
{
PrintString("stat_type:"+ m_Name + "|stat_value:"+ m_Value.ToString());
}
string GetName()
{
return m_Name;
}
string GetValue()
{
return m_Value.ToString();
}
void SetType(eRemoteDebugType type)
{
m_Type = type;
}
eRemoteDebugType GetType()
{
return m_Type;
}
};
|