mirror of
https://github.com/arthurdead/proxysend.git
synced 2025-12-07 10:28:21 +00:00
refactor
This commit is contained in:
parent
fc4b0b831a
commit
5f1107abf8
@ -179,7 +179,7 @@ class ExtensionConfig(object):
|
|||||||
'-fvisibility=hidden',
|
'-fvisibility=hidden',
|
||||||
]
|
]
|
||||||
cxx.cxxflags += [
|
cxx.cxxflags += [
|
||||||
'-std=c++17',
|
'-std=gnu++2a',
|
||||||
'-fno-exceptions',
|
'-fno-exceptions',
|
||||||
'-fno-threadsafe-statics',
|
'-fno-threadsafe-statics',
|
||||||
'-Wno-non-virtual-dtor',
|
'-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.
|
* @brief Sample implementation of the SDK Extension.
|
||||||
* Note: Uncomment one of the pre-defined virtual functions in order to use it.
|
* 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:
|
public:
|
||||||
|
virtual bool RegisterConCommandBase(ConCommandBase *pCommand);
|
||||||
virtual void OnCoreMapEnd() noexcept override final;
|
virtual void OnCoreMapEnd() noexcept override final;
|
||||||
virtual void OnPluginUnloaded(IPlugin *plugin) noexcept override final;
|
virtual void OnPluginUnloaded(IPlugin *plugin) noexcept override final;
|
||||||
virtual void OnEntityDestroyed(CBaseEntity *pEntity) noexcept override final;
|
virtual void OnEntityDestroyed(CBaseEntity *pEntity) noexcept override final;
|
||||||
|
|||||||
@ -2,6 +2,17 @@
|
|||||||
{
|
{
|
||||||
"tf"
|
"tf"
|
||||||
{
|
{
|
||||||
|
"Offsets"
|
||||||
|
{
|
||||||
|
"CBaseClient::UpdateSendState"
|
||||||
|
{
|
||||||
|
"linux" "46"
|
||||||
|
}
|
||||||
|
"CBaseClient::SendSnapshot"
|
||||||
|
{
|
||||||
|
"linux" "52"
|
||||||
|
}
|
||||||
|
}
|
||||||
"Signatures"
|
"Signatures"
|
||||||
{
|
{
|
||||||
"SendTable_CalcDelta"
|
"SendTable_CalcDelta"
|
||||||
@ -34,6 +45,26 @@
|
|||||||
"library" "engine"
|
"library" "engine"
|
||||||
"linux" "@_ZN11CBaseServer18WriteDeltaEntitiesEP11CBaseClientP12CClientFrameS3_R8bf_write"
|
"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