Ejemplo n.º 1
0
 private void OnGetRoleAfterLevelUpNty(short state, RoleAfterLevelUpNty down = null)
 {
     if (EntityWorld.Instance != null && EntityWorld.Instance.EntSelf != null)
     {
         EntityWorld.Instance.EntSelf.Lv = down.newLv;
     }
     Debug.Log("主角升级:<color=#ffffff>" + down.newLv + "</color>");
     EventDispatcher.Broadcast("UpgradeManager.RoleSelfLevelUp");
     EventDispatcher.Broadcast <int>("GuideManager.LevelUp", down.newLv);
     SDKManager.Instance.SubmitExtendData(null, SDKManager.SubmitTypeLevelup, SDKManager.GetSubmitData());
 }
Ejemplo n.º 2
0
 public void CloseKF()
 {
     this.SubmitExtendData(null, SDKManager.SubmitTypeCloseKF, SDKManager.GetSubmitData());
 }
Ejemplo n.º 3
0
 public void OpenKF()
 {
     this.SubmitExtendData(null, SDKManager.SubmitTypeOpenKF, SDKManager.GetSubmitData());
 }