示例#1
0
        internal void SendMessage(IInternalOutgoingMessage internalMessage)
        {
            InternalOutgoingMessage message = internalMessage as InternalOutgoingMessage;
            if (Habbo.IsLoggedIn())
                CoreManager.ServerCore.GetStandardOut().PrintDebug("[" + GetHabbo().GetUsername() + "] <-- " +
                                                                   message.Header + message.GetContentString());
            else
                CoreManager.ServerCore.GetStandardOut().PrintDebug("[" + GetID() + "] <-- " + message.Header +
                                                                   message.GetContentString());

            SendData(message.GetBytes());
        }