refactor: Added and improved comments in message structure

This commit is contained in:
Yannik Bretschneider 2021-04-30 16:28:00 +02:00
parent 51a7044851
commit 72289a5052
2 changed files with 5 additions and 2 deletions

View File

@ -9,6 +9,10 @@ public class ScenarioConfig {
/** An array containing the map based on the {@link FieldType} enum. So, ROCK and GRASS basically. */ /** An array containing the map based on the {@link FieldType} enum. So, ROCK and GRASS basically. */
public FieldType[][] scenario; public FieldType[][] scenario;
/** A string containing the name of the author of the scenario config */
public String author; public String author;
/** A string containing the name of the scenario configuration (so basically the map title) */
public String name; public String name;
} }

View File

@ -14,8 +14,7 @@ public class MessageStructure {
/** 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. */