Thread: Oops!
View Single Post
Re: Oops!
Old
  (#5)
Lazy
Member
 
Lazy's Avatar
 
Status: Offline
Posts: 236
Join Date: Jan 2004
Location: Toronto, Ontario, Canada
Default Re: Oops! - 16-07-2004

Cheeseh is correct, if you want to hook a function it's as simple as overriding it in your class.

There will be similar stuff to metamod such as handling return values and preventing calls to the mod.
To differentiate between pre and post calls a member variable in the CPluginBase class will be set accordingly.
  
Reply With Quote