forked from External/mage
XMage 1.4.17V0
This commit is contained in:
parent
b2bd7f5e24
commit
8b62eece68
43 changed files with 182 additions and 157 deletions
|
|
@ -44,8 +44,9 @@ public class UserView implements Serializable {
|
|||
private final String gameInfo;
|
||||
private final String userState;
|
||||
private final Date muteChatUntil;
|
||||
private final String clientVersion;
|
||||
|
||||
public UserView(String userName, String host, String sessionId, Date timeConnected, String gameInfo, String userState, Date muteChatUntil) {
|
||||
public UserView(String userName, String host, String sessionId, Date timeConnected, String gameInfo, String userState, Date muteChatUntil, String clientVersion) {
|
||||
this.userName = userName;
|
||||
this.host = host;
|
||||
this.sessionId = sessionId;
|
||||
|
|
@ -53,6 +54,7 @@ public class UserView implements Serializable {
|
|||
this.gameInfo = gameInfo;
|
||||
this.userState = userState;
|
||||
this.muteChatUntil = muteChatUntil;
|
||||
this.clientVersion = clientVersion;
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
|
|
@ -67,10 +69,6 @@ public class UserView implements Serializable {
|
|||
return sessionId;
|
||||
}
|
||||
|
||||
public Date getConnectionTime() {
|
||||
return timeConnected;
|
||||
}
|
||||
|
||||
public String getGameInfo() {
|
||||
return gameInfo;
|
||||
}
|
||||
|
|
@ -83,4 +81,12 @@ public class UserView implements Serializable {
|
|||
return muteChatUntil;
|
||||
}
|
||||
|
||||
public String getClientVersion() {
|
||||
return clientVersion;
|
||||
}
|
||||
|
||||
public Date getTimeConnected() {
|
||||
return timeConnected;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue