generated from AfonsoCMSousa/CPP-Template
20 lines
321 B
C++
20 lines
321 B
C++
#ifndef APP_CONFIG_HPP
|
|
#define APP_CONFIG_HPP
|
|
|
|
#include <string>
|
|
#include <cstdint>
|
|
|
|
struct app_info {
|
|
// From args
|
|
uint16_t app_id;
|
|
uint16_t app_port_in;
|
|
uint16_t app_port_out;
|
|
|
|
// From .env
|
|
std::string app_api_socket_path;
|
|
uint16_t max_players;
|
|
std::string app_server_out_ip;
|
|
};
|
|
|
|
#endif
|