示例#1
0
文件: Help.cs 项目: Mereos/HabboEMU
        /// <summary>
        /// Mods the send user message.
        /// </summary>
        internal void ModSendUserMessage()
        {
            if (!Session.GetHabbo().HasFuse("fuse_alert"))
            {
                return;
            }
            var userId  = Request.GetUInteger();
            var message = Request.GetString();

            ModerationTool.AlertUser(Session, userId, message, false);
        }
示例#2
0
        internal void ModSendUserMessage()
        {
            if (!Session.GetHabbo().HasFuse("fuse_alert"))
            {
                return;
            }

            int    UserId  = Request.ReadInt32();
            String Message = Request.ReadString();

            ModerationTool.AlertUser(Session, UserId, Message, false);
        }
示例#3
0
文件: Help.cs 项目: xXSicilyXx/Yupi
        /// <summary>
        ///     Mods the send user caution.
        /// </summary>
        internal void ModSendUserCaution()
        {
            if (!Session.GetHabbo().HasFuse("fuse_alert"))
            {
                return;
            }

            uint   userId  = Request.GetUInteger();
            string message = Request.GetString();

            ModerationTool.AlertUser(Session, userId, message, true);
        }
示例#4
0
文件: Help.cs 项目: fuding/Coolmemes
        internal void ModSendUserMessage()
        {
            if (!Session.GetHabbo().HasFuse("fuse_user_alert"))
            {
                return;
            }

            uint   UserId  = Request.PopWiredUInt();
            string Message = Request.PopFixedString();

            ModerationTool.AlertUser(Session, UserId, Message, true);
        }
示例#5
0
        internal void ModSendUserMessage()
        {
            if (!Session.GetHabbo().HasRight("acc_supporttool"))
            {
                return;
            }

            uint   UserId  = Request.PopWiredUInt();
            String Message = Request.PopFixedString();

            ModerationTool.AlertUser(Session, UserId, Message, false);
        }
示例#6
0
        internal void ModSendUserCaution()
        {
            if (!Session.GetHabbo().HasFuse("fuse_alert"))
            {
                return;
            }

            int    UserId  = Request.ReadInt32();
            String Message = Request.ReadString();

            Logging.WriteLine("UserId: " + UserId + "; Message => " + Message);
            ModerationTool.AlertUser(Session, UserId, Message, true);
        }