implemented CommonQueries
This commit is contained in:
@@ -28,7 +28,7 @@ Result(void) Client_getServerName(Client* self, str* out_name);
|
||||
Result(void) Client_getServerDescription(Client* self, str* out_desc);
|
||||
|
||||
/// Create new account on connected server
|
||||
Result(void) Client_register(Client* self, u64* out_user_id);
|
||||
Result(void) Client_register(Client* self, i64* out_user_id);
|
||||
|
||||
/// Authorize on connected server
|
||||
Result(void) Client_login(Client* self, u64* out_user_id, u64* out_landing_channel_id);
|
||||
Result(void) Client_login(Client* self, i64* out_user_id, i64* out_landing_channel_id);
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
#define CHANNEL_DESC_SIZE_MAX 1023
|
||||
#define MESSAGE_SIZE_MIN 1
|
||||
#define MESSAGE_SIZE_MAX 4000
|
||||
#define MESSAGE_BLOCK_SIZE (64*1024)
|
||||
#define MESSAGE_BLOCK_COUNT_MAX 50
|
||||
Reference in New Issue
Block a user