Skip to content
  • This project
    • Loading...
  • Sign in

金学艇 / xhx

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • xhx
  • server
  • trunk
  • gateway
  • sys.h
  • jinwawa's avatar
    0509 · 7b96a3da
    7b96a3da
    jinwawa authored 2019-05-09 20:22:06 +0800
sys.h 330 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#pragma once

#include "event.h"
#include <proto_header.h>

struct sys_t 
{
	sys_t();
	bool is_run();
	bool b_game_server_boot_msg;
	event_mgr_t event_mgr;
	bool is_release;
	uint32_t platform;
};

extern sys_t* g_sys;

extern proto_head_t g_proto_head;

extern std::string g_serialize_to_string(::google::protobuf::Message* msg);