EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
BeyonceBound Class Reference
Inheritance diagram for BeyonceBound:
Collaboration diagram for BeyonceBound:

Public Member Functions

 PyCallable_Make_Dispatcher (BeyonceBound) BeyonceBound(PyServiceMgr *mgr
 
Client m_dispatch (new Dispatcher(this))
 
virtual ~BeyonceBound ()
 
virtual void Release ()
 
 PyCallable_DECL_CALL (CmdFollowBall)
 
 PyCallable_DECL_CALL (CmdOrbit)
 
 PyCallable_DECL_CALL (CmdAlignTo)
 
 PyCallable_DECL_CALL (CmdGotoDirection)
 
 PyCallable_DECL_CALL (CmdGotoBookmark)
 
 PyCallable_DECL_CALL (CmdSetSpeedFraction)
 
 PyCallable_DECL_CALL (CmdStop)
 
 PyCallable_DECL_CALL (CmdWarpToStuff)
 
 PyCallable_DECL_CALL (CmdDock)
 
 PyCallable_DECL_CALL (CmdStargateJump)
 
 PyCallable_DECL_CALL (UpdateStateRequest)
 
 PyCallable_DECL_CALL (CmdWarpToStuffAutopilot)
 
 PyCallable_DECL_CALL (CmdAbandonLoot)
 
 PyCallable_DECL_CALL (CmdFleetRegroup)
 
 PyCallable_DECL_CALL (CmdFleetTagTarget)
 
 PyCallable_DECL_CALL (CmdJumpThroughFleet)
 
 PyCallable_DECL_CALL (CmdBeaconJumpFleet)
 
 PyCallable_DECL_CALL (CmdBeaconJumpAlliance)
 
 PyCallable_DECL_CALL (CmdJumpThroughAlliance)
 
 PyCallable_DECL_CALL (CmdJumpThroughCorporationStructure)
 
- Public Member Functions inherited from PyBoundObject
 PyBoundObject (PyServiceMgr *mgr)
 
virtual ~PyBoundObject ()
 
uint32 nodeID () const
 
uint32 bindID () const
 
std::string GetBindStr () const
 
const char * GetName () const
 
virtual PyResult Call (const std::string &method, PyCallArgs &args)
 
- Public Member Functions inherited from PyCallable
 PyCallable ()
 
virtual ~PyCallable ()
 

Public Attributes

ClientpClient: PyBoundObject(mgr)
 

Protected Attributes

Dispatcher *const m_dispatch
 
- Protected Attributes inherited from PyBoundObject
PyServiceMgr *const m_manager
 
std::string m_strBoundObjectName
 

Additional Inherited Members

- Protected Member Functions inherited from PyBoundObject
void _SetNodeBindID (uint32 nodeID, uint32 bindID)
 
- Protected Member Functions inherited from PyCallable
void _SetCallDispatcher (CallDispatcher *d)
 

Detailed Description

Definition at line 47 of file BeyonceService.cpp.

Constructor & Destructor Documentation

virtual BeyonceBound::~BeyonceBound ( )
inlinevirtual

Definition at line 89 of file BeyonceService.cpp.

References m_dispatch.

90  {
91  delete m_dispatch;
92  }
Dispatcher *const m_dispatch

Member Function Documentation

Client BeyonceBound::m_dispatch ( new   Dispatcherthis)
inline

Definition at line 55 of file BeyonceService.cpp.

References PyCallable::_SetCallDispatcher(), Client::IsLogin(), Client::IsSetStateSent(), m_dispatch, PyBoundObject::m_strBoundObjectName, PyCallable_REG_CALL, Client::SetBallPark(), and Client::SetBeyonce().

56  {
58 
59  m_strBoundObjectName = "BeyonceBound";
60 
61  PyCallable_REG_CALL(BeyonceBound, CmdFollowBall); //*
62  PyCallable_REG_CALL(BeyonceBound, CmdOrbit); //*
63  PyCallable_REG_CALL(BeyonceBound, CmdAlignTo);
64  PyCallable_REG_CALL(BeyonceBound, CmdGotoDirection); //*
65  PyCallable_REG_CALL(BeyonceBound, CmdGotoBookmark);
66  PyCallable_REG_CALL(BeyonceBound, CmdSetSpeedFraction);
68  PyCallable_REG_CALL(BeyonceBound, CmdWarpToStuff);
70  PyCallable_REG_CALL(BeyonceBound, CmdStargateJump);
71  PyCallable_REG_CALL(BeyonceBound, UpdateStateRequest);
72  PyCallable_REG_CALL(BeyonceBound, CmdWarpToStuffAutopilot); //*
73  PyCallable_REG_CALL(BeyonceBound, CmdAbandonLoot);
74 
75  PyCallable_REG_CALL(BeyonceBound, CmdFleetRegroup);
76  PyCallable_REG_CALL(BeyonceBound, CmdFleetTagTarget);
77  PyCallable_REG_CALL(BeyonceBound, CmdBeaconJumpFleet);
78  PyCallable_REG_CALL(BeyonceBound, CmdBeaconJumpAlliance);
79  PyCallable_REG_CALL(BeyonceBound, CmdJumpThroughFleet);
80  PyCallable_REG_CALL(BeyonceBound, CmdJumpThroughAlliance);
81  PyCallable_REG_CALL(BeyonceBound, CmdJumpThroughCorporationStructure);
82 
83 
84  pClient->SetBeyonce(true);
85  if (pClient->IsLogin() and !pClient->IsSetStateSent())
87  }
bool IsLogin()
Definition: Client.h:235
Dispatcher *const m_dispatch
std::string m_strBoundObjectName
Definition: PyBoundObject.h:54
Client * pClient
bool IsSetStateSent()
Definition: Client.h:240
void _SetCallDispatcher(CallDispatcher *d)
Definition: PyCallable.h:87
void SetBallPark()
Definition: Client.cpp:887
#define PyCallable_REG_CALL(c, m)
Definition: PyServiceCD.h:78
void SetBeyonce(bool beyonce=false)
Definition: Client.h:246

Here is the call graph for this function:

BeyonceBound::PyCallable_DECL_CALL ( CmdFollowBall  )
BeyonceBound::PyCallable_DECL_CALL ( CmdOrbit  )
BeyonceBound::PyCallable_DECL_CALL ( CmdAlignTo  )
BeyonceBound::PyCallable_DECL_CALL ( CmdGotoDirection  )
BeyonceBound::PyCallable_DECL_CALL ( CmdGotoBookmark  )
BeyonceBound::PyCallable_DECL_CALL ( CmdSetSpeedFraction  )
BeyonceBound::PyCallable_DECL_CALL ( CmdStop  )
BeyonceBound::PyCallable_DECL_CALL ( CmdWarpToStuff  )
BeyonceBound::PyCallable_DECL_CALL ( CmdDock  )
BeyonceBound::PyCallable_DECL_CALL ( CmdStargateJump  )
BeyonceBound::PyCallable_DECL_CALL ( UpdateStateRequest  )
BeyonceBound::PyCallable_DECL_CALL ( CmdWarpToStuffAutopilot  )
BeyonceBound::PyCallable_DECL_CALL ( CmdAbandonLoot  )
BeyonceBound::PyCallable_DECL_CALL ( CmdFleetRegroup  )
BeyonceBound::PyCallable_DECL_CALL ( CmdFleetTagTarget  )
BeyonceBound::PyCallable_DECL_CALL ( CmdJumpThroughFleet  )
BeyonceBound::PyCallable_DECL_CALL ( CmdBeaconJumpFleet  )
BeyonceBound::PyCallable_DECL_CALL ( CmdBeaconJumpAlliance  )
BeyonceBound::PyCallable_DECL_CALL ( CmdJumpThroughAlliance  )
BeyonceBound::PyCallable_DECL_CALL ( CmdJumpThroughCorporationStructure  )
BeyonceBound::PyCallable_Make_Dispatcher ( BeyonceBound  )
virtual void BeyonceBound::Release ( )
inlinevirtual

Implements PyBoundObject.

Definition at line 94 of file BeyonceService.cpp.

94  {
95  //I hate this statement
96  delete this;
97  }

Member Data Documentation

Dispatcher* const BeyonceBound::m_dispatch
protected

Definition at line 122 of file BeyonceService.cpp.

Referenced by m_dispatch(), and ~BeyonceBound().

Client* BeyonceBound::pClient

Definition at line 54 of file BeyonceService.cpp.


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