示例#1
0
 private static void HandleStop(GameSession session)
 {
     session.Send(FishingPacket.Stop());
     session.FieldManager.BroadcastPacket(GuideObjectPacket.Remove(session.Player.Guide));
     session.FieldManager.RemoveGuide(session.Player.Guide);
     session.Player.Guide = null; // remove guide from player
 }
示例#2
0
 private static void HandleStop(GameSession session)
 {
     session.Send(BuildModePacket.Use(session.FieldPlayer, false));
     session.FieldManager.BroadcastPacket(GuideObjectPacket.Remove(session.Player.Guide));
     session.FieldManager.RemoveGuide(session.FieldPlayer.Value.Guide);
     session.Player.Guide = null; // remove guide from player
 }
示例#3
0
 private static void HandleStop(GameSession session)
 {
     if (session.Player.Guide == null)
     {
         return;
     }
     session.FieldManager.BroadcastPacket(BuildModePacket.Use(session.Player.FieldPlayer, BuildModeType.Stop));
     session.FieldManager.BroadcastPacket(GuideObjectPacket.Remove(session.Player.Guide));
     session.FieldManager.RemoveGuide(session.Player.Guide);
     session.Player.Guide = null; // remove guide from player
 }