void IBattleCharacter.AttachMaigc(int magicID, float cdCompletedTime) { var notify = new Notify_ReleaseMagic { Index = Index, MagicID = magicID, CdCompletedTime = cdCompletedTime }; PerceptionView.AddNotify(notify); }
void IBattleCharacter.ProtertyChange(HeroPropertyType type, int finalValue) { var notify = new Notify_PropertyValue { Index = Index, FinallyValue = finalValue, Type = type }; PerceptionView.AddNotify(notify); }
void IBattleCharacter.ShowMPChange(int mp, int cur, int maxMP) { var notify = new Proto.Notify_MPChange { Index = Index, MP = mp, TargetMP = cur, Max = maxMP }; PerceptionView.AddNotify(notify); }
void IBattleCharacter.ShowHPChange(int hp, int cur, int max) { var notify = new Proto.Notify_HPChange { Index = Index, HP = hp, TargetHP = cur, Max = max }; PerceptionView.AddNotify(notify); }
void IBattleCharacter.StopMove() { CurrentPath = null; if (syncIndex > 0) { var notify = new Proto.Notify_CharacterPosition() { LastPosition = this.transform.position.ToV3(), TargetPosition = this.transform.position.ToV3(), Index = this.Index }; PerceptionView.AddNotify(notify); } syncIndex = 0; }