Slight adjustment to the documentation of the vote request commands in protocol
This commit is contained in:
parent
e062b526e6
commit
b375dbc1a3
@ -160,15 +160,17 @@ serverConfirmQuit = "QUITC"
|
|||||||
|
|
||||||
|
|
||||||
serverRequestsGhostVote = "GVOTR"
|
serverRequestsGhostVote = "GVOTR"
|
||||||
GVOTR$passenger position (int)$train information
|
GVOTR$passenger position (int)$
|
||||||
The server requests the client (who should be a ghost) to vote on the victim.
|
The server requests the client (who should be a ghost) to vote on the victim, it delivers the position of the passenger
|
||||||
|
representing the client in the game with it so the client knows its own position. The position can be 0-5
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
serverRequestsHumanVote = "HVOTR"
|
serverRequestsHumanVote = "HVOTR"
|
||||||
HVOTR$passenger position (int)$train information
|
HVOTR$passenger position (int)$
|
||||||
The server requests the client (who should be a human) to vote on who is a ghost / who should be kicked
|
The server requests the client (who should be a human) to vote on who is a ghost / who should be kicked
|
||||||
off the train.
|
off the train, it delivers the position of the passenger
|
||||||
|
representing the client in the game with it so the client knows its own position. The position can be 0-5
|
||||||
|
|
||||||
|
|
||||||
changedUserName = "CHNAM"
|
changedUserName = "CHNAM"
|
||||||
|
|||||||
@ -187,15 +187,19 @@ public class Protocol {
|
|||||||
public static final String serverConfirmQuit = "QUITC";
|
public static final String serverConfirmQuit = "QUITC";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The server requests the client (who should be a ghost) to vote on the victim. in the format
|
* The server requests the client (who should be a ghost) to vote on the victim in the format
|
||||||
* {@code GVOTR$passenger position (int)$train information}
|
* {@code GVOTR$passenger position (int)}
|
||||||
* the current train will be shown as a string to the client
|
* It delivers the position of the passenger
|
||||||
|
* representing the client in the game with it so the client knows its own position. The position can be 0-5the current train will be shown as a string to the client
|
||||||
*/
|
*/
|
||||||
public static final String serverRequestsGhostVote = "GVOTR";
|
public static final String serverRequestsGhostVote = "GVOTR";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The server requests the client (who should be a human) to vote on who is a ghost /
|
* The server requests the client (who should be a human) to vote on who is a ghost /
|
||||||
* who should be kicked off the train.
|
* who should be kicked off the train.
|
||||||
|
* {@code HVOTR$passenger position (int)}
|
||||||
|
* it delivers the position of the passenger
|
||||||
|
* representing the client in the game with it so the client knows its own position. The position can be 0-5
|
||||||
*/
|
*/
|
||||||
public static final String serverRequestsHumanVote = "HVOTR";
|
public static final String serverRequestsHumanVote = "HVOTR";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user