public static void PlayerEnterWorld(Player player) { MapService.PlayerEnterWorld(player); PlayerService.PlayerEnterWorld(player); ControllerService.PlayerEnterWorld(player); FeedbackService.OnPlayerEnterWorld(player.Connection, player); PartyService.UpdateParty(player.Party); GuildService.OnPlayerEnterWorld(player); DuelService.PlayerLeaveWorld(player); }
public static void PlayerEndGame(Player player) { if (player == null) { return; } PlayerService.PlayerEndGame(player); MapService.PlayerLeaveWorld(player); ControllerService.PlayerEndGame(player); PartyService.UpdateParty(player.Party); DuelService.PlayerLeaveWorld(player); }