Ejemplo n.º 1
0
        public static void HandleMapRunning(MapRunningFightDetailsRequestMessage message, WorldClient client)
        {
            // var fight = client.Character.Map.Instance.GetFight(message.fightId);


            //client.Send(new MapRunningFightDetailsMessage(message.fightId, fight.RedTeam.GetFighterLightInformations(),
            //    fight.BlueTeam.GetFighterLightInformations()));
        }
Ejemplo n.º 2
0
        public static void HandleMapRunningFightDetailsRequestMessage(WorldClient client, MapRunningFightDetailsRequestMessage message)
        {
            var fight = FightManager.Instance.GetFight(message.fightId);

            if (fight == null || (fight.Map != client.Character.Map && client.Character.Map.Id != ArenaManager.KolizeumMapId))
            {
                return;
            }

            SendMapRunningFightDetailsMessage(client, fight);
        }
        public static void HandleMapRunningFightDetailsRequestMessage(WorldClient client, MapRunningFightDetailsRequestMessage message)
        {
            Fight fight = Singleton <FightManager> .Instance.GetFight(message.fightId);

            if (fight != null && !(fight.Map != client.Character.Map))
            {
                ContextRoleplayHandler.SendMapRunningFightDetailsMessage(client, fight);
                BasicHandler.SendBasicNoOperationMessage(client);
            }
        }