14 lines
357 B
C++
14 lines
357 B
C++
#ifndef GENERICMOD_H
|
|
#define GENERICMOD_H
|
|
|
|
class GenericMod {
|
|
public:
|
|
virtual void Initialize() {}
|
|
virtual int OnChat(void* msg) { return 0; }
|
|
virtual int OnCheckInventoryFull(void* player, void* item) { return 0; }
|
|
virtual int OnP2PRequest(uint64_t steamID) { return 0; }
|
|
virtual void OnGameTick(void* game) {}
|
|
};
|
|
|
|
#endif // GENERICMOD_H
|