47 {
48 RegisterNetSyncVariableInt("m_SlotState");
49 RegisterNetSyncVariableInt("m_SlotFertilityState");
50 RegisterNetSyncVariableInt("m_SlotWateredState");
51
52 RegisterNetSyncVariableInt("m_SlotWaterBitmap0");
53 RegisterNetSyncVariableInt("m_SlotWaterBitmap1");
54 RegisterNetSyncVariableInt("m_SlotWaterBitmap2");
55
56 RegisterNetSyncVariableInt("m_SlotFertilizerBitmap0");
57 RegisterNetSyncVariableInt("m_SlotFertilizerBitmap1");
58 RegisterNetSyncVariableInt("m_SlotFertilizerBitmap2");
59
61
63
64
66 {
67
70
71 if (i < 10)
72 output = output + "0";
73
75
77 }
78
81
83 {
85 }
86 }
int GetGardenSlotsCount()
static const string SLOT_SEEDBASE_PREFIX
void SetMaxWaterStateVal()
static ref map< string, string > m_map_slots
static const string SLOT_MEMORY_POINT_PREFIX
proto native CGame GetGame()
EntityEvent
Entity events for event-mask, or throwing event from code.
static proto string ToString(void var, bool type=false, bool name=false, bool quotes=true)
Return string representation of variable.