refactor: optimized file readability by refactoring comments
This commit is contained in:
parent
1233eeb037
commit
51a7044851
@ -4,24 +4,20 @@ import uulm.teamname.marvelous.gamelibrary.events.Event;
|
|||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
/** Represents a message sent between client and server and contains all possible data.
|
/** Represents a message sent between client and server and contains all possible data. */
|
||||||
*/
|
|
||||||
public class MessageStructure {
|
public class MessageStructure {
|
||||||
//TODO: revise MessageStructure according to actual standard document
|
//TODO: revise MessageStructure according to actual standard document
|
||||||
|
|
||||||
/** The list of {@link Event}s sent inside the message.
|
/** The list of {@link Event}s sent inside the message. */
|
||||||
*/
|
|
||||||
public Event[] events;
|
public Event[] events;
|
||||||
|
|
||||||
/** The checksum of the current game state at the time the message was sent.
|
/** The checksum of the current game state at the time the message was sent */
|
||||||
*/
|
|
||||||
public int checksum;
|
public int checksum;
|
||||||
|
|
||||||
/** The type of the custom content sent with the message.
|
/** The type of the custom content sent with the message.
|
||||||
*/
|
*/
|
||||||
public String customContentType;
|
public String customContentType;
|
||||||
|
|
||||||
/** The decoded contents of the custom content sent.
|
/** The decoded contents of the custom content sent. */
|
||||||
*/
|
|
||||||
public HashMap<String, Object> customContent;
|
public HashMap<String, Object> customContent;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user