Commit a79d9fb2 authored by matthias's avatar matthias

new jdoc, remove cw message base

parent 2e23f489
package gone.lib.network.json;
/**
* Created by winfr on 30.09.2016.
* message type the clients receive if the game ends
*
* @author winfried
*/
public class CwGameResultContent {
public String state;
......
package gone.lib.network.json;
/**
* Created by winfr on 26.08.2016.
* message type that will be sent regularly from the server
* to the client, which represents the game update of one
* single game step at the server
*
* @author winfried
*/
public class CwGameStatusContent {
public int indexOfChangedCoreElement;
......
......@@ -3,7 +3,10 @@ package gone.lib.network.json;
import gone.lib.common.ClientRole;
/**
* Created by winfr on 23.08.2016.
* message type that will be sent from the client to
* the server to establish a login on the server
*
* @author winfried
*/
public class CwLoginContent {
public String name;
......
......@@ -3,7 +3,10 @@ package gone.lib.network.json;
import gone.lib.common.RcStandard;
/**
* Created by winfr on 27.09.2016.
* message type that receives the client from the server
* if the previous login of the client was successful
*
* @author winfried
*/
public class CwLoginOkContent {
public boolean clientMustWait;
......
package gone.lib.network.json;
/**
* Created by winfr on 23.08.2016.
*/
public class CwMessageBase {
public String packageType;
public int version;
}
package gone.lib.network.json;
/**
* Created by winfr on 26.08.2016.
* collection of the different message types including an
* unknown message type to deal with errors
*
* @author winfried
*/
public enum CwMessageType {
Login,
......
......@@ -3,7 +3,10 @@ package gone.lib.network.json;
import java.util.List;
/**
* Created by Winfried on 22.09.2016.
* message type to send the warrior code from the client
* to the server
*
* @author Winfried
*/
public class CwReadyContent {
public List<String> warriorRedcode;
......
......@@ -3,7 +3,11 @@ package gone.lib.network.json;
import java.util.List;
/**
* Created by winfr on 26.08.2016.
* message type to send the changes of the
* server core initiation and the count of the competing players
* from the server to the client
*
* @author winfried
*/
public class CwStartContent {
public int players;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment