mirror of
https://github.com/tribufu/sdk-cpp
synced 2025-06-17 11:24:17 +00:00
Use mintaka shared libraries (#1)
* Add libhv and test http client * Remove cpp-httplib * Update premake5.lua * Update client.cpp * Update premake5.lua * Add more windows libs * Use mintaka http client
This commit is contained in:
27
include/tribufu/servers/server.h
Normal file
27
include/tribufu/servers/server.h
Normal file
@ -0,0 +1,27 @@
|
||||
// Copyright (c) Tribufu. All Rights Reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <tribufu/prelude.h>
|
||||
|
||||
namespace tribufu
|
||||
{
|
||||
class TRIBUFU_API Server
|
||||
{
|
||||
private:
|
||||
uint64_t id;
|
||||
std::string name;
|
||||
std::string description;
|
||||
std::string address;
|
||||
uint16_t game_port;
|
||||
uint16_t query_port;
|
||||
uint64_t package_id;
|
||||
|
||||
public:
|
||||
Server();
|
||||
Server(json data);
|
||||
~Server();
|
||||
|
||||
json to_json();
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user