コード例 #1
0
 private void OnPlayerChangeMp(S_PLAYER_CHANGE_MP m)
 {
     if (!Game.IsMe(m.Target))
     {
         return;
     }
     Player.MaxMP     = m.MaxMP;
     Player.CurrentMP = m.CurrentMP;
 }
コード例 #2
0
 public static void HandlePlayerChangeMp(S_PLAYER_CHANGE_MP p)
 {
     SessionManager.SetPlayerMaxMp(p.Target, p.MaxMP);
     SessionManager.SetPlayerMp(p.Target, p.CurrentMP);
 }
コード例 #3
0
 public static void HandlePlayerChangeMP(S_PLAYER_CHANGE_MP p)
 {
     SessionManager.SetPlayerMP(p.target, p.currentMP);
 }