public void Invoke(Session _Session, IncomingPacket _Packet)
        {
            string _item    = _Packet.GetString();
            string _tipop   = _Packet.GetString();
            int    _periodo = _Packet.GetInt();
            int    _pre     = _Packet.GetInt();

            _Session.Send(_Session.User.BuyItems(_item, _tipop, _periodo, _pre));
            _Session.Send(_Session.User.GetAvatars());
        }
        public void Invoke(Session _Session, IncomingPacket _Packet)
        {
            string name       = _Packet.GetString();
            string password   = _Packet.GetString();
            int    maxplayers = _Packet.GetInt();
            int    type       = _Packet.GetInt();
            int    Owner      = _Session.User.ID;

            //Channel _cha = Program.ChannelManager.CreateChannel(name, password, 0, 0);
            //_cha.Owner = Owner;
        }
        public void Invoke(Session _Session, IncomingPacket _Packet)
        {
            int    version  = _Packet.GetInt();
            int    user_id  = _Packet.GetInt();
            string user_key = _Packet.GetString();

            _Session.Send("[" + (int)ServerOpcode.login_profile + "]");
            _Session.User.LoadUser(version, user_id, user_key);
            _Session.Send("[" + (int)ServerOpcode.login_avatars + "]");
            _Session.User.LoadinfoAvatars();
            _Session.Send(_Session.User.PlayerInfo());

            _Session.Send(_Session.User.UpdateBoddy());

            LogConsole.Show(LogType.INFO, "Version: {0} User_id: {1} User_key: {2}", version, user_id, user_key);
        }
        public void Invoke(Session _Session, IncomingPacket _Packet)
        {
            int fid = _Packet.GetInt();

            if (fid == 0)
            {
                _Session.Send(_Session.User.UpdateBoddy());
            }
            else if (fid == 1)
            {
                _Session.Send(_Session.User.Guildinfo());
            }
        }