2021-07-05 05:44:58 +00:00
|
|
|
typedef struct Cart Cart;
|
|
|
|
typedef struct Realm Realm;
|
|
|
|
typedef struct UserInfo {
|
|
|
|
char name[32];
|
|
|
|
uvlong password;
|
|
|
|
Cart* cart;
|
|
|
|
Realm* realm;
|
|
|
|
} UserInfo;
|
2021-07-08 05:37:18 +00:00
|
|
|
|
|
|
|
int load_cart(char* uname, char* cart_name);
|
|
|
|
int enter_realm(char* uname, char* realm_name);
|
|
|
|
int leave_realm(char* uname, Realm* realm);
|
|
|
|
int unload_cart(char* uname, Cart* cart);
|