added ability to override natives (someone shoot me)

This commit is contained in:
David Anderson
2006-05-10 11:23:08 +00:00
parent de1f1eef8d
commit b12025093b
5 changed files with 85 additions and 12 deletions

View File

@@ -92,6 +92,7 @@ public:
bool attachModule();
bool queryModule();
bool detachModule();
void rewriteNativeLists(AMX_NATIVE_INFO *list);
#ifndef FAKEMETA
bool attachMetamod(const char *mmfile, PLUG_LOADTIME now);
@@ -115,7 +116,8 @@ public:
void CallPluginsUnloaded();
void CallPluginsUnloading();
CList<AMX_NATIVE_INFO*> m_Natives;
CVector<AMX_NATIVE_INFO*> m_Natives;
CVector<size_t> m_DestroyableIndexes;
};
#endif //CMODULE_H