38 bool AttachImpl(
IPluginContext& host,
char* error,
size_t errorSize);
40 bool Refuse(std::string_view reason,
char* error,
size_t errorSize);
42 void OnServerStartup(std::string_view mapName);
43 bool OnConsoleCommand(std::string_view name, std::string_view arguments,
int slot);
44 void SubscribeHostEvents();
45 void Shutdown() noexcept;
48 bool OnClientConnecting(
int slot, int64_t steamId, std::string_view name,
char* reason,
size_t reasonSize);
49 void OnClientConnected(
int slot, int64_t steamId, std::string_view name, std::string_view address);
50 void OnClientDisconnected(
int slot);
51 void OnClientFullyConnected(
int slot);
52 void OnClientSettingsChanged(
int slot);
53 void OnCheckTransmit(CCheckTransmitInfo** infoList,
int infoCount);
54 void OnBuildGameSessionManifest(IEntityResourceManifest* manifest);
61 std::unique_ptr<
Runtime> _runtime;
63 std::unique_ptr<
Plugin> _plugin;