AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
VehicleScript Class Reference

#include "VehicleScript.h"

Inheritance diagram for VehicleScript:
ScriptObject

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
virtual bool IsDatabaseBound () const
 
virtual bool isAfterLoadScript () const
 
virtual void checkValidity ()
 
const std::string & GetName () const
 
uint16 GetTotalAvailableHooks ()
 

Protected Member Functions

 VehicleScript (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name, uint16 totalAvailableHooks=0)
 
virtual ~ScriptObject ()=default
 

Detailed Description

Constructor & Destructor Documentation

◆ VehicleScript()

VehicleScript::VehicleScript ( const char *  name)
protected
92 : ScriptObject(name)
93{
95}
static void AddScript(TScript *const script, std::vector< uint16 > enabledHooks={})
Definition: ScriptMgr.h:738
Definition: ScriptObject.h:43

References ScriptRegistry< TScript >::AddScript().

Member Function Documentation

◆ OnAddPassenger()

virtual void VehicleScript::OnAddPassenger ( Vehicle ,
Unit ,
int8   
)
inlinevirtual
42{ }

◆ OnInstall()

virtual void VehicleScript::OnInstall ( Vehicle )
inlinevirtual
30{ }

◆ OnInstallAccessory()

virtual void VehicleScript::OnInstallAccessory ( Vehicle ,
Creature  
)
inlinevirtual
39{ }

◆ OnRemovePassenger()

virtual void VehicleScript::OnRemovePassenger ( Vehicle ,
Unit  
)
inlinevirtual
45{ }

◆ OnReset()

virtual void VehicleScript::OnReset ( Vehicle )
inlinevirtual
36{ }

◆ OnUninstall()

virtual void VehicleScript::OnUninstall ( Vehicle )
inlinevirtual
33{ }