Beispiel #1
0
 //--------------------------------------------------------------------------------
 // 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);
     }
 }
Beispiel #2
0
 //--------------------------------------------------------------------------------
 // onClickTabEntities
 //--------------------------------------------------------------------------------
 public void onClickTabEntities()
 {
     objectType = LoomClient.LOOM_ENUM_VIRTUAL_OBJ_TYPE.virtualEntity;
     LoomClient.ActionGetEntities(onCallbackGetEntities);
 }