-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaccelerator_local.h
More file actions
43 lines (37 loc) · 1.39 KB
/
accelerator_local.h
File metadata and controls
43 lines (37 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
* ======================================================
* Accelerator local
* Written by Phoenix (˙·٠●Феникс●٠·˙) 2023-2025, Asher Baker (asherkin) 2011.
* ======================================================
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3.0, as published by the
* Free Software Foundation.
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
* the use of this software.
*/
#ifndef _INCLUDE_METAMOD_SOURCE_STUB_PLUGIN_H_
#define _INCLUDE_METAMOD_SOURCE_STUB_PLUGIN_H_
#include <ISmmPlugin.h>
#include <iserver.h>
class AcceleratorLocal final : public ISmmPlugin, public IMetamodListener
{
public:
bool Load(PluginId id, ISmmAPI* ismm, char* error, size_t maxlen, bool late);
bool Unload(char* error, size_t maxlen);
private:
const char* GetAuthor();
const char* GetName();
const char* GetDescription();
const char* GetURL();
const char* GetLicense();
const char* GetVersion();
const char* GetDate();
const char* GetLogTag();
private: // Hooks
void GameFrame(bool simulating, bool bFirstTick, bool bLastTick);
void StartupServer(const GameSessionConfiguration_t& config, ISource2WorldSession*, const char*);
};
#endif //_INCLUDE_METAMOD_SOURCE_STUB_PLUGIN_H_