mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-03 04:19:20 -04:00
this is a more "clean" conversion to 64 bit than the type-fixups branch, which does borrow some elements from it but has far less find and replace...it is about 98-99% done, notes to follow later
This commit is contained in:
@@ -13,7 +13,7 @@ namespace CTService
|
||||
|
||||
class CTServiceAPICore;
|
||||
|
||||
typedef unsigned short CTUnicodeChar;
|
||||
typedef uint16_t CTUnicodeChar;
|
||||
|
||||
//--------------------------------------
|
||||
class CTServiceAPI
|
||||
@@ -23,8 +23,8 @@ public:
|
||||
CTServiceAPI(const char *hostName, const char *game); // hostName: "addr1:port1 addr2:port2"
|
||||
virtual ~CTServiceAPI();
|
||||
|
||||
virtual void onConnect(const char *host, const short port, const short current, const short max) = 0;
|
||||
virtual void onDisconnect(const char *host, const short port, const short current, const short max) = 0;
|
||||
virtual void onConnect(const char *host, const int16_t port, const int16_t current, const int16_t max) = 0;
|
||||
virtual void onDisconnect(const char *host, const int16_t port, const int16_t current, const int16_t max) = 0;
|
||||
void process();
|
||||
|
||||
// ----- Requests generated by API -----
|
||||
|
||||
Reference in New Issue
Block a user