Skip to content

Commit 8197691

Browse files
committed
Add a getter for a ClientInfo's myTeamSpeakId
1 parent 9ceb416 commit 8197691

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/main/java/com/github/theholywaffle/teamspeak3/api/ClientProperty.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public enum ClientProperty implements Property {
6969
CLIENT_META_DATA(false),
7070
CLIENT_MONTH_BYTES_DOWNLOADED(false),
7171
CLIENT_MONTH_BYTES_UPLOADED(false),
72+
CLIENT_MYTEAMSPEAK_ID(false),
7273
CLIENT_NEEDED_SERVERQUERY_VIEW_POWER(false),
7374
CLIENT_NICKNAME(true),
7475
CLIENT_NICKNAME_PHONETIC(false),

src/main/java/com/github/theholywaffle/teamspeak3/api/wrapper/ClientInfo.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ public long getMonthlyBytesUploaded() {
107107
return getLong(ClientProperty.CLIENT_MONTH_BYTES_UPLOADED);
108108
}
109109

110+
public String getMyTeamSpeakId() {
111+
return get(ClientProperty.CLIENT_MYTEAMSPEAK_ID);
112+
}
113+
110114
public int getNeededServerQueryViewPower() {
111115
return getInt(ClientProperty.CLIENT_NEEDED_SERVERQUERY_VIEW_POWER);
112116
}

0 commit comments

Comments
 (0)