56 {
58
59
61 RegisterNetSyncVariableBool("m_IsLocked");
62 RegisterNetSyncVariableInt("m_Combination", 0, combinationLength - 1);
63 RegisterNetSyncVariableInt("m_CombinationInside", 0, combinationLength - 1);
64 RegisterNetSyncVariableInt(
"m_DialIndex", 0,
m_LockDigits - 1);
65 RegisterNetSyncVariableInt(
"m_DialIndexInside", 0,
m_LockDigits - 1);
66 RegisterNetSyncVariableInt(
"m_LockActionPerformed", 0,
LockAction.COUNT);
67 RegisterNetSyncVariableInt("m_LockDigitsCount", 0, combinationLength - 1);
68 }
static proto float Pow(float v, float power)
Return power of v ^ power.