Class Message
Object
Message
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionMessage()
Public default constructor for the json construction of an instance.A default chat message.Message
(String from, String content, MessageType type) Anything but a chat message, usually broadcasted to everyone playing or used for administrative network purposes (pong or internalpong). -
Method Summary
-
Field Details
-
fileLength
-
from
-
to
-
-
type
-
-
Constructor Details
-
Message
-
Message
public Message()Public default constructor for the json construction of an instance. -
Message
Anything but a chat message, usually broadcasted to everyone playing or used for administrative network purposes (pong or internalpong).- Parameters:
from
- from someone, playernamecontent
- content of the messagetype
- message type, info or pong or internalpong
-
-
Method Details
-
toJson
-
fromJson
-