Esempio n. 1
0
        public IMessageable SendMessage(IInternalOutgoingMessage message)
        {
#if DEBUG
            CoreManager.ServerCore.StandardOut.Debug("Packet Logging", "OUTGOING => " + message.Header + message.ContentString);
#endif
            Socket.Send(message.GetBytes());
            return(this);
        }
Esempio n. 2
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());
        }
Esempio n. 3
0
 public IMessageable SendMessage(IInternalOutgoingMessage message)
 {
     foreach (IRoomUnit roomUnit in RoomUnits)
     {
         IMessageable messageableRoomUnit = roomUnit as IMessageable;
         if (messageableRoomUnit != null)
         {
             messageableRoomUnit.SendMessage(message);
         }
     }
     return(this);
 }
Esempio n. 4
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());
        }
Esempio n. 5
0
 public GameSocketMessageEventArgs(IInternalOutgoingMessage message)
 {
     Message = message;
 }
Esempio n. 6
0
 public IMessageable SendMessage(IInternalOutgoingMessage message)
 {
     return(this);
 }
Esempio n. 7
0
File: Room.cs Progetto: habb0/IHI
 public IMessageable SendMessage(IInternalOutgoingMessage message)
 {
     return this;
 }
Esempio n. 8
0
File: Habbo.cs Progetto: habb0/IHI
 public IMessageable SendMessage(IInternalOutgoingMessage message)
 {
     _connection.SendMessage(message);
     return this;
 }
Esempio n. 9
0
File: Habbo.cs Progetto: habb0/IHI
 public IMessageable SendMessage(IInternalOutgoingMessage message)
 {
     _connection.SendMessage(message);
     return(this);
 }
Esempio n. 10
0
 public GameSocketMessageEventArgs(IInternalOutgoingMessage message)
 {
     Message = message;
 }
Esempio n. 11
0
File: Habbo.cs Progetto: habb0/IHI-1
 public IMessageable SendMessage(IInternalOutgoingMessage message)
 {
     Socket.SendMessage(message);
     return(this);
 }
Esempio n. 12
0
File: Habbo.cs Progetto: habb0/IHI-1
 public IMessageable SendMessage(IInternalOutgoingMessage message)
 {
     Socket.SendMessage(message);
     return this;
 }
Esempio n. 13
0
File: Room.cs Progetto: habb0/IHI-1
 public IMessageable SendMessage(IInternalOutgoingMessage message)
 {
     foreach (IRoomUnit roomUnit in RoomUnits)
     {
         IMessageable messageableRoomUnit = roomUnit as IMessageable;
         if (messageableRoomUnit != null)
             messageableRoomUnit.SendMessage(message);
     }
     return this;
 }
Esempio n. 14
0
 public IMessageable SendMessage(IInternalOutgoingMessage message)
 {
     #if DEBUG
     CoreManager.ServerCore.StandardOut.Debug("Packet Logging", "OUTGOING => " + message.Header + message.ContentString);
     #endif
     Socket.Send(message.GetBytes());
     return this;
 }