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

#include <ScriptMgr.h>

Public Member Functions

virtual void OnNetworkStart ()
 
virtual void OnNetworkStop ()
 
virtual void OnSocketOpen (std::shared_ptr< WorldSocket >)
 
virtual void OnSocketClose (std::shared_ptr< WorldSocket >)
 
virtual void OnPacketSend (WorldSession *, WorldPacket &)
 
virtual void OnPacketReceive (WorldSession *, WorldPacket &)
 
- Public Member Functions inherited from ScriptObject
const std::string & GetName () const
 

Protected Member Functions

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

Constructor & Destructor Documentation

ServerScript::ServerScript ( const char *  name)
protected
1530  : ScriptObject(name)
1531 {
1533 }
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 ServerScript::OnNetworkStart ( )
inlinevirtual
212 { }
virtual void ServerScript::OnNetworkStop ( )
inlinevirtual
215 { }
virtual void ServerScript::OnPacketReceive ( WorldSession ,
WorldPacket  
)
inlinevirtual
230 { }
virtual void ServerScript::OnPacketSend ( WorldSession ,
WorldPacket  
)
inlinevirtual
226 { }
virtual void ServerScript::OnSocketClose ( std::shared_ptr< WorldSocket )
inlinevirtual
222 { }
virtual void ServerScript::OnSocketOpen ( std::shared_ptr< WorldSocket )
inlinevirtual
218 { }

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