refactor GameVersion and QuestScriptVersion into a single enum

This commit is contained in:
Martin Michelsen
2023-11-24 23:33:57 -08:00
parent 9097abf307
commit de4cb26c34
64 changed files with 3608 additions and 3431 deletions
+3 -3
View File
@@ -15,7 +15,7 @@ struct Channel {
struct sockaddr_storage remote_addr;
bool is_virtual_connection;
GameVersion version;
Version version;
uint8_t language;
std::shared_ptr<PSOEncryption> crypt_in;
std::shared_ptr<PSOEncryption> crypt_out;
@@ -39,7 +39,7 @@ struct Channel {
// Creates an unconnected channel
Channel(
GameVersion version,
Version version,
uint8_t language,
on_command_received_t on_command_received,
on_error_t on_error,
@@ -50,7 +50,7 @@ struct Channel {
// Creates a connected channel
Channel(
struct bufferevent* bev,
GameVersion version,
Version version,
uint8_t language,
on_command_received_t on_command_received,
on_error_t on_error,