Ejemplo n.º 1
0
 public void ClearActor()
 {
     GameUIManager.mInstance.HUDTextMgr.Clear();
     Globals.Instance.EffectSoundMgr.ClearCache();
     this.invoker.Clear();
     if (this.baseScene != null)
     {
         this.combatTime = this.baseScene.GetMaxCombatTimer() - this.baseScene.GetCombatTimer();
         this.baseScene.Destroy();
         this.baseScene = null;
     }
     this.senceInfo = null;
     this.actors.Clear();
     this.LopetActor = null;
     this.RemoteLopetActor = null;
     for (int i = 0; i < 5; i++)
     {
         this.actors.Add(null);
     }
     this.assistPetID = 0;
     this.assistPetAttID = 0;
     this.combatLog = null;
     this.ServerData = null;
 }
Ejemplo n.º 2
0
 public void SetServerData(int key, ServerActorData data)
 {
     this.Key = key;
     this.ServerKey = key;
     this.ServerData = data;
 }