add support for PSO DC v1/v2
This commit is contained in:
+4
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user