示例#1
0
文件: Help.cs 项目: fuding/Coolmemes
        internal void ModGetRoomChatlog()
        {
            if (!Session.GetHabbo().HasFuse("fuse_chatlogs"))
            {
                return;
            }

            int  Junk   = Request.PopWiredInt32();
            uint RoomId = Request.PopWiredUInt();

            Session.SendMessage(ModerationTool.SerializeRoomChatlog(RoomId));
        }
示例#2
0
        internal void ModGetRoomChatlog()
        {
            if (!Session.GetHabbo().HasFuse("fuse_chatlogs"))
            {
                return;
            }

            int  Junk   = Request.ReadInt32();
            uint RoomId = Request.ReadUInt32();

            if (FirewindEnvironment.GetGame().GetRoomManager().GetRoom(RoomId) != null)
            {
                Session.SendMessage(ModerationTool.SerializeRoomChatlog(RoomId));
            }
        }
示例#3
0
文件: Help.cs 项目: Mereos/HabboEMU
        /// <summary>
        /// Mods the get room chatlog.
        /// </summary>
        internal void ModGetRoomChatlog()
        {
            if (!Session.GetHabbo().HasFuse("fuse_chatlogs"))
            {
                this.Session.SendNotif(Plus.GetLanguage().GetVar("help_information_error_rank_low"));
                return;
            }
            Request.GetInteger();
            var roomId = Request.GetUInteger();

            if (Plus.GetGame().GetRoomManager().GetRoom(roomId) != null)
            {
                Session.SendMessage(ModerationTool.SerializeRoomChatlog(roomId));
            }
        }
示例#4
0
        internal void ModGetRoomChatlog()
        {
            if (!Session.GetHabbo().HasRight("acc_chatlogs"))
            {
                return;
            }

            int  Junk   = Request.PopWiredInt32();
            uint RoomId = Request.PopWiredUInt();

            if (PiciEnvironment.GetGame().GetRoomManager().GetRoom(RoomId) != null)
            {
                Session.SendMessage(ModerationTool.SerializeRoomChatlog(RoomId));
            }
        }