mirror of
https://github.com/arthurdead/proxysend.git
synced 2025-12-06 18:08:22 +00:00
refactor
This commit is contained in:
parent
fc4b0b831a
commit
5f1107abf8
@ -179,7 +179,7 @@ class ExtensionConfig(object):
|
||||
'-fvisibility=hidden',
|
||||
]
|
||||
cxx.cxxflags += [
|
||||
'-std=c++17',
|
||||
'-std=gnu++2a',
|
||||
'-fno-exceptions',
|
||||
'-fno-threadsafe-statics',
|
||||
'-Wno-non-virtual-dtor',
|
||||
|
||||
834
extension.cpp
834
extension.cpp
File diff suppressed because it is too large
Load Diff
@ -44,9 +44,10 @@
|
||||
* @brief Sample implementation of the SDK Extension.
|
||||
* Note: Uncomment one of the pre-defined virtual functions in order to use it.
|
||||
*/
|
||||
class Sample final : public SDKExtension, public IPluginsListener, public ISMEntityListener
|
||||
class Sample final : public SDKExtension, public IPluginsListener, public ISMEntityListener, public IConCommandBaseAccessor
|
||||
{
|
||||
public:
|
||||
virtual bool RegisterConCommandBase(ConCommandBase *pCommand);
|
||||
virtual void OnCoreMapEnd() noexcept override final;
|
||||
virtual void OnPluginUnloaded(IPlugin *plugin) noexcept override final;
|
||||
virtual void OnEntityDestroyed(CBaseEntity *pEntity) noexcept override final;
|
||||
|
||||
@ -2,6 +2,17 @@
|
||||
{
|
||||
"tf"
|
||||
{
|
||||
"Offsets"
|
||||
{
|
||||
"CBaseClient::UpdateSendState"
|
||||
{
|
||||
"linux" "46"
|
||||
}
|
||||
"CBaseClient::SendSnapshot"
|
||||
{
|
||||
"linux" "52"
|
||||
}
|
||||
}
|
||||
"Signatures"
|
||||
{
|
||||
"SendTable_CalcDelta"
|
||||
@ -34,6 +45,26 @@
|
||||
"library" "engine"
|
||||
"linux" "@_ZN11CBaseServer18WriteDeltaEntitiesEP11CBaseClientP12CClientFrameS3_R8bf_write"
|
||||
}
|
||||
"CGameClient::GetSendFrame"
|
||||
{
|
||||
"library" "engine"
|
||||
"linux" "@_ZN11CGameClient12GetSendFrameEv"
|
||||
}
|
||||
"SV_PackEntity"
|
||||
{
|
||||
"library" "engine"
|
||||
"linux" "@_ZL13SV_PackEntityiP7edict_tP11ServerClassP14CFrameSnapshot"
|
||||
}
|
||||
"InvalidateSharedEdictChangeInfos"
|
||||
{
|
||||
"library" "engine"
|
||||
"linux" "@_Z32InvalidateSharedEdictChangeInfosv"
|
||||
}
|
||||
"PackWork_t::Process"
|
||||
{
|
||||
"library" "engine"
|
||||
"linux" "@_ZN10PackWork_t7ProcessERS_"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user