add support for PSO DC v1/v2

This commit is contained in:
Martin Michelsen
2022-08-27 01:34:49 -07:00
parent 4abd91cb8f
commit 5d3d1e1900
30 changed files with 4004 additions and 585 deletions
+4 -1
View File
@@ -61,7 +61,6 @@ struct Client {
// License & account
std::shared_ptr<const License> license;
GameVersion version;
// Note: these fields are included in the client config. On GC, the client
// config can be up to 0x20 bytes; on BB it can be 0x28 bytes. We don't use
@@ -111,6 +110,10 @@ struct Client {
Client(struct bufferevent* bev, GameVersion version, ServerBehavior server_behavior);
inline GameVersion version() const {
return this->channel.version;
}
void set_license(std::shared_ptr<const License> l);
ClientConfig export_config() const;