31 #include "packets/Planet.h"
80 :
PyService(mgr, "planetOrbitalRegistryBroker"),
94 _log(PLANET__INFO,
"PlanetORB bind request for:");
95 bind_args->
Dump(PLANET__INFO,
" ");
96 if(!bind_args->
IsInt()) {
109 Call_SingleIntegerArg
args;
110 if (!args.Decode(&call.
tuple)) {
111 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
130 Call_SingleIntegerArg
args;
131 if (!args.Decode(&call.
tuple)) {
132 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
143 _log(INV__MESSAGE,
"Calling PlanetORBBound::UpdateSettings()");
144 call.
Dump(PLANET__DUMP);
146 Call_UpdateSettings
args;
147 if (!args.Decode(&call.
tuple)) {
148 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
153 Call_TaxRateValuesDict dict;
154 if (!dict.Decode(input)) {
155 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
160 pCOSE->
UpdateSettings(args.reinforceValue, args.standingValue, args.allowAlliance, args.allowStandings, dict);
189 _log(PLANET__DEBUG,
"PlanetORBBound::Handle_GMChangeSpaceObjectOwner - size %u", call.
tuple->
size() );
190 call.
Dump(PLANET__DUMP);
Dispatcher *const m_dispatch
#define _log(type, fmt,...)
float GetTaxRate(Client *pClient)
PyCallable_DECL_CALL(GetTaxRate)
Dispatcher *const m_dispatch
Python floating point number.
void UpdateSettings(int8 selectedHour, int8 standingValue, bool ally, bool standings, Call_TaxRateValuesDict &taxRateValues)
int32 GetCorporationID() const
std::string m_strBoundObjectName
const char * GetName() const
void Dump(FILE *into, const char *pfx) const
Dumps object to file.
PyRep * arguments() const
PyCallable_Make_Dispatcher(PlanetORBBound) PlanetORBBound(PyServiceMgr *mgr
void _SetCallDispatcher(CallDispatcher *d)
PyCallable_Make_InnerDispatcher(PlanetORB) PlanetORB
virtual PyBoundObject * CreateBoundObject(Client *pClient, const PyRep *bind_args)
PyRep * GetSettingsInfo()
#define codelog(type, fmt,...)
PyServiceMgr *const m_manager
#define IsPlayerCorp(itemID)
#define PyCallable_REG_CALL(c, m)
void Dump(LogType type) const
virtual ~PlanetORBBound()
Dispatcher *const m_dispatch
const char * TypeString() const
const char * GetName() const