TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
VehicleScript Class Reference

#include <ScriptMgr.h>

Public Member Functions

virtual void OnInstall (Vehicle *)
 
virtual void OnUninstall (Vehicle *)
 
virtual void OnReset (Vehicle *)
 
virtual void OnInstallAccessory (Vehicle *, Creature *)
 
virtual void OnAddPassenger (Vehicle *, Unit *, int8)
 
virtual void OnRemovePassenger (Vehicle *, Unit *)
 
- Public Member Functions inherited from ScriptObject
const std::string & GetName () const
 

Protected Member Functions

 VehicleScript (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name)
 
virtual ~ScriptObject ()
 

Constructor & Destructor Documentation

VehicleScript::VehicleScript ( const char *  name)
protected
1641  : ScriptObject(name)
1642 {
1644 }
static void AddScript(TScript *const script, bool addToDeleteContainer=true)
Definition: ScriptMgr.cpp:111
ScriptObject(const char *name)
Definition: ScriptMgr.h:159

+ Here is the call graph for this function:

Member Function Documentation

virtual void VehicleScript::OnAddPassenger ( Vehicle ,
Unit ,
int8   
)
inlinevirtual
601 { }
virtual void VehicleScript::OnInstall ( Vehicle )
inlinevirtual
589 { }
virtual void VehicleScript::OnInstallAccessory ( Vehicle ,
Creature  
)
inlinevirtual
598 { }
virtual void VehicleScript::OnRemovePassenger ( Vehicle ,
Unit  
)
inlinevirtual
604 { }
virtual void VehicleScript::OnReset ( Vehicle )
inlinevirtual
595 { }
virtual void VehicleScript::OnUninstall ( Vehicle )
inlinevirtual
592 { }

The documentation for this class was generated from the following files: