//-------------------------------------------------------------------------------- // OnInvokeRepeating //-------------------------------------------------------------------------------- public override void OnInvokeRepeating() { if (objectType == LoomClient.LOOM_ENUM_VIRTUAL_OBJ_TYPE.virtualCurrency) { LoomClient.ActionGetCurrencies(onCallbackGetCurrencies); } else if (objectType == LoomClient.LOOM_ENUM_VIRTUAL_OBJ_TYPE.virtualGood) { LoomClient.ActionGetGoods(onCallbackGetGoods); } else if (objectType == LoomClient.LOOM_ENUM_VIRTUAL_OBJ_TYPE.virtualProperty) { LoomClient.ActionGetProperties(onCallbackGetProperties); } else if (objectType == LoomClient.LOOM_ENUM_VIRTUAL_OBJ_TYPE.virtualEntity) { LoomClient.ActionGetEntities(onCallbackGetEntities); } }
//-------------------------------------------------------------------------------- // onClickTabEntities //-------------------------------------------------------------------------------- public void onClickTabEntities() { objectType = LoomClient.LOOM_ENUM_VIRTUAL_OBJ_TYPE.virtualEntity; LoomClient.ActionGetEntities(onCallbackGetEntities); }