What we mean here is, i think, something like this
Code:
class CPluginBase
{
public:
...
virtual ... Spawn (...) { // default Spawn stuff (i.e. call engine spawn etc..?)
virtual ... StartFrame (...);
virtual ... PlayerPreThink (...);
...
};
class CMyPlugin : public CPluginBase
{
public:
// overridden spawn method
... Spawn (...)
{
// my plugin code
}
// overridden startframe
... Startframe ()
{
// my plugin code
}
// didn't over-ride PlayerPreThink and other stuff since we don't need them
};