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

#include <ScriptMgr.h>

Public Member Functions

virtual void OnAddPassenger (Transport *, Player *)
 
virtual void OnAddCreaturePassenger (Transport *, Creature *)
 
virtual void OnRemovePassenger (Transport *, Player *)
 
virtual void OnRelocate (Transport *, uint32, uint32, float, float, float)
 
- Public Member Functions inherited from ScriptObject
const std::string & GetName () const
 
- Public Member Functions inherited from UpdatableScript< Transport >
virtual void OnUpdate (Transport *, uint32)
 

Protected Member Functions

 TransportScript (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name)
 
virtual ~ScriptObject ()
 
- Protected Member Functions inherited from UpdatableScript< Transport >
 UpdatableScript ()
 
virtual ~UpdatableScript ()
 

Constructor & Destructor Documentation

TransportScript::TransportScript ( const char *  name)
protected
1653  : ScriptObject(name)
1654 {
1656 }
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 TransportScript::OnAddCreaturePassenger ( Transport ,
Creature  
)
inlinevirtual
626 { }
virtual void TransportScript::OnAddPassenger ( Transport ,
Player  
)
inlinevirtual
623 { }
virtual void TransportScript::OnRelocate ( Transport ,
uint32  ,
uint32  ,
float  ,
float  ,
float   
)
inlinevirtual
632 { }
virtual void TransportScript::OnRemovePassenger ( Transport ,
Player  
)
inlinevirtual
629 { }

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