mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 04:56:20 +00:00
[Loginserver] Modernize codebase (#4647)
* Beginning of cleanup * More cleanup * More cleanup * Enc cleanup * client manager cleanup * client cleanup * More cleanup * More cleanup * Cleanup * More cleanup, account context, account management * Remove positional fmt bindings * Use LoginAccountContext * Update loginserver_webserver.cpp * Remove comments * Port CreateLoginServerAccount to repositories * More cleanup * More cleanup * More cleanup * More cleanup * Remove a ton of functions * More cleanup * More cleanup * More cleanup * Cleanup SendClientAuthToWorld * Consolidate world server logic * Update login_accounts_repository.h * Update login_accounts_repository.h * Move api tokens to repositories * Cleanup options * Move everything else to repositories * Update account_management.cpp * uint64 account * Update login_schema.sql * Fix * Update world_server.cpp * auto
This commit is contained in:
+10
-10
@@ -646,7 +646,7 @@ struct ServerLSInfo_Struct {
|
||||
uint8 servertype; // 0=world, 1=chat, 2=login, 3=MeshLogin
|
||||
};
|
||||
|
||||
struct ServerNewLSInfo_Struct {
|
||||
struct LoginserverNewWorldRequest {
|
||||
char server_long_name[201]; // name the worldserver wants
|
||||
char server_short_name[50]; // shortname the worldserver wants
|
||||
char remote_ip_address[125]; // DNS address of the server
|
||||
@@ -658,21 +658,21 @@ struct ServerNewLSInfo_Struct {
|
||||
uint8 server_process_type; // 0=world, 1=chat, 2=login, 3=MeshLogin
|
||||
};
|
||||
|
||||
struct ServerLSAccountUpdate_Struct { // for updating info on login server
|
||||
char worldaccount[31]; // account name for the worldserver
|
||||
char worldpassword[31]; // password for the name
|
||||
uint32 useraccountid; // player account ID
|
||||
char useraccount[31]; // player account name
|
||||
char userpassword[51]; // player account password
|
||||
char user_email[101]; // player account email address
|
||||
struct LoginserverAccountUpdate { // for updating info on login server
|
||||
char world_account[31]; // account name for the worldserver
|
||||
char world_password[31]; // password for the name
|
||||
uint32 user_account_id; // player account ID
|
||||
char user_account_name[31]; // player account name
|
||||
char user_account_password[51]; // player account password
|
||||
char user_email[101]; // player account email address
|
||||
};
|
||||
|
||||
struct ServerLSStatus_Struct {
|
||||
struct LoginserverWorldStatusUpdate {
|
||||
int32 status;
|
||||
int32 num_players;
|
||||
int32 num_zones;
|
||||
};
|
||||
struct ZoneInfo_Struct {
|
||||
struct LoginserverZoneInfoUpdate {
|
||||
uint32 zone;
|
||||
uint16 count;
|
||||
uint32 zone_wid;
|
||||
|
||||
Reference in New Issue
Block a user