Package VASSAL.chat
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)
-
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleStatus
static String
encode(SimpleStatus s)
getCrc()
getIp()
boolean
isAway()
boolean
void
Update variable parts of status
-
Field Details
-
CRC
- See Also:
- Constant Field Values
-
MODULE_VERSION
- See Also:
- Constant Field Values
-
IP
- See Also:
- Constant Field Values
-
CLIENT
- See Also:
- Constant Field Values
-
PROFILE
- See Also:
- Constant Field Values
-
AWAY
- See Also:
- Constant Field Values
-
LOOKING
- See Also:
- Constant Field Values
-
NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SimpleStatus
public SimpleStatus() -
SimpleStatus
public SimpleStatus(boolean looking, boolean away) -
SimpleStatus
-
SimpleStatus
-
-
Method Details
-
isAway
public boolean isAway() -
isLooking
public boolean isLooking() -
getProfile
-
getClient
-
getIp
-
getModuleVersion
-
getCrc
-
encode
-
decode
-
updateStatus
public void updateStatus()Update variable parts of status
-