Skip to content

Commit

Permalink
Issue #26: Support for TeamSpeak 3.1.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhakonen committed Feb 26, 2017
1 parent a689b3b commit e2c8bbb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion invoke.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
vars:
version: 0.7.0
version: 0.7.1
game_version: 0.9.15.1.1
plugin_name: TessuMod Plugin
plugin_author: Janne Hakonen (jhakonen @ WOT EU server)
Expand Down
2 changes: 1 addition & 1 deletion tsplugin/include/teamspeak/public_rare_definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ enum VirtualServerPropertiesRare {
VIRTUALSERVER_TOTAL_PACKETLOSS_CONTROL, //only available on request (=> requestServerVariables)
VIRTUALSERVER_TOTAL_PACKETLOSS_TOTAL, //only available on request (=> requestServerVariables)
VIRTUALSERVER_TOTAL_PING, //only available on request (=> requestServerVariables)
VIRTUALSERVER_IP, //internal use | contains only ONE binded ip
VIRTUALSERVER_IP, //internal use | contains comma separated ip list
VIRTUALSERVER_WEBLIST_ENABLED, //only available on request (=> requestServerVariables)
VIRTUALSERVER_AUTOGENERATED_PRIVILEGEKEY, //internal use
VIRTUALSERVER_ASK_FOR_PRIVILEGEKEY, //available when connected
Expand Down
5 changes: 3 additions & 2 deletions tsplugin/include/ts3_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ struct TS3Functions {
unsigned int (*getClientVariableAsInt)(uint64 serverConnectionHandlerID, anyID clientID, size_t flag, int* result);
unsigned int (*getClientVariableAsUInt64)(uint64 serverConnectionHandlerID, anyID clientID, size_t flag, uint64* result);
unsigned int (*getClientVariableAsString)(uint64 serverConnectionHandlerID, anyID clientID, size_t flag, char** result);
unsigned int (*getClientList)(uint64 serverConnectionHandlerID, anyID** result);
unsigned int (*getClientList)(uint64 serverConnectionHandlerID, anyID** result);
unsigned int (*getChannelOfClient)(uint64 serverConnectionHandlerID, anyID clientID, uint64* result);

/* Channel info */
Expand Down Expand Up @@ -273,10 +273,11 @@ struct TS3Functions {
unsigned int (*createBookmark)(const char* bookmarkuuid, const char* serverLabel, const char* serverAddress, const char* serverPassword, const char* nickname, const char* channel, const char* channelPassword, const char* captureProfile, const char* playbackProfile, const char* hotkeyProfile, const char* soundProfile, const char* uniqueUserId, const char* oneTimeKey, const char* phoneticName);
unsigned int (*getPermissionIDByName)(uint64 serverConnectionHandlerID, const char* permissionName, unsigned int* result);
unsigned int (*getClientNeededPermission)(uint64 serverConnectionHandlerID, const char* permissionName, int* result);
void(*notifyKeyEvent)(const char *pluginID, const char *keyIdentifier, int up_down);
};

#ifdef __cplusplus
}
#endif

#endif
#endif
2 changes: 1 addition & 1 deletion tsplugin/src/drivers/teamspeakplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static QPointer<Driver::TeamSpeakPlugin> gTeamSpeakPlugin;
static QList<Driver::TeamSpeakAudioBackend*> gAudioBackends;
static QMutex audioBackendMutex( QMutex::Recursive );

#define PLUGIN_API_VERSION 21
#define PLUGIN_API_VERSION 22

#ifdef _WIN32
/* Helper function to convert wchar_T to Utf-8 encoded strings on Windows */
Expand Down

0 comments on commit e2c8bbb

Please sign in to comment.