|
RuneHive-Game
|
The OutgoingPacket that sends a message to a Players chatbox in the client.
More...
Public Member Functions | |
| boolean | encode (Player player) |
| SendMessage (Object message) | |
| SendMessage (Object message, boolean filtered) | |
| SendMessage (Object message, MessageColor color) | |
| SendMessage (Object message, MessageColor color, boolean filtered) | |
| Public Member Functions inherited from com.runehive.net.packet.OutgoingPacket | |
| void | execute (Player player) |
| OutgoingPacket (int opcode, int capacity) | |
| OutgoingPacket (int opcode, PacketType type) | |
| OutgoingPacket (int opcode, PacketType type, int size) | |
Private Attributes | |
| final boolean | filtered |
| final Object | message |
Additional Inherited Members | |
| Protected Attributes inherited from com.runehive.net.packet.OutgoingPacket | |
| final PacketBuilder | builder |
The OutgoingPacket that sends a message to a Players chatbox in the client.
Definition at line 14 of file SendMessage.java.
| com.runehive.net.packet.out.SendMessage.SendMessage | ( | Object | message | ) |
Definition at line 19 of file SendMessage.java.
References com.runehive.util.MessageColor.BLACK, and message.
| com.runehive.net.packet.out.SendMessage.SendMessage | ( | Object | message, |
| boolean | filtered ) |
Definition at line 23 of file SendMessage.java.
References com.runehive.util.MessageColor.BLACK, filtered, and message.
| com.runehive.net.packet.out.SendMessage.SendMessage | ( | Object | message, |
| MessageColor | color ) |
Definition at line 27 of file SendMessage.java.
References message.
| com.runehive.net.packet.out.SendMessage.SendMessage | ( | Object | message, |
| MessageColor | color, | ||
| boolean | filtered ) |
Definition at line 31 of file SendMessage.java.
References com.runehive.util.MessageColor.BLACK, filtered, com.runehive.util.MessageColor.getColor(), message, and com.runehive.net.packet.PacketType.VAR_BYTE.
| boolean com.runehive.net.packet.out.SendMessage.encode | ( | Player | player | ) |
Reimplemented from com.runehive.net.packet.OutgoingPacket.
Definition at line 38 of file SendMessage.java.
References com.runehive.net.packet.OutgoingPacket.builder, filtered, and message.
|
private |
Definition at line 17 of file SendMessage.java.
Referenced by encode(), SendMessage(), and SendMessage().
|
private |
Definition at line 16 of file SendMessage.java.
Referenced by encode(), SendMessage(), SendMessage(), SendMessage(), and SendMessage().