Ejemplo n.º 1
0
        public LeaveVision Type;          // 12 a 15	= 4

        // Construtores
        public static P_165 New(int ClientID, LeaveVision Type)
        {
            P_165 tmp = new P_165 {
                Header = SHeader.New(0x165, Marshal.SizeOf <P_165> ( ), ClientID),

                Type = Type
            };

            return(tmp);
        }
Ejemplo n.º 2
0
        public void NotifyLeaveVision(IGameObject o, TeamId team)
        {
            var lv = new LeaveVision(o);

            _packetHandlerManager.BroadcastPacketTeam(team, lv, Channel.CHL_S2C);

            // Not exactly sure what this is yet
            var c = o as IChampion;

            if (o == null)
            {
                var deleteObj = new DeleteObjectFromVision(o);
                _packetHandlerManager.BroadcastPacketTeam(team, deleteObj, Channel.CHL_S2C);
            }
        }