Class SimpleStatus
java.lang.Object
VASSAL.chat.SimpleStatus
- All Implemented Interfaces:
PlayerStatus
Immutable PlayerStatus class with flags indicating "looking for a game" and "away from keyboard" and a String profile
- Author:
- rkinney
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSimpleStatus
(boolean looking, boolean away) SimpleStatus
(boolean looking, boolean away, String profile) SimpleStatus
(boolean looking, boolean away, String profile, String client, String ip, String module, String crc) SimpleStatus
(boolean looking, boolean away, String profile, String client, String ip, String module, String crc, String combinedCrc) -
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleStatus
static String
getCrc()
getIp()
boolean
isAway()
boolean
void
Update variable parts of status
-
Field Details
-
CRC
- See Also:
-
COMBINED_CRC
- See Also:
-
MODULE_VERSION
- See Also:
-
IP
- See Also:
-
CLIENT
- See Also:
-
PROFILE
- See Also:
-
AWAY
- See Also:
-
LOOKING
- See Also:
-
NAME
- See Also:
-
-
Constructor Details
-
SimpleStatus
public SimpleStatus() -
SimpleStatus
public SimpleStatus(boolean looking, boolean away) -
SimpleStatus
-
SimpleStatus
-
SimpleStatus
-
-
Method Details
-
isAway
public boolean isAway() -
isLooking
public boolean isLooking() -
getProfile
-
getClient
-
getIp
-
getModuleVersion
-
getCrc
-
getCombinedCrc
-
encode
-
decode
-
updateStatus
public void updateStatus()Update variable parts of status
-