64 Call_SingleIntegerArg arg;
65 if (!arg.Decode(&call.
tuple)) {
66 _log(SERVICE__ERROR,
"Failed to decode args.");
74 Call_SingleIntegerArg arg;
75 if (!arg.Decode(&call.
tuple)) {
76 _log(SERVICE__ERROR,
"Failed to decode args.");
81 if (bRef.
get() ==
nullptr)
84 return bRef->GetBlueprintAttributes();
89 Call_SingleIntegerArg arg;
90 if (!arg.Decode(&call.
tuple)) {
91 _log(SERVICE__ERROR,
"Failed to decode args.");
95 return sDataMgr.GetBPMatlData(arg.arg);
102 _log(MANUF__MESSAGE,
"FactoryService::GetBlueprintInformationAtLocation() size= %u", call.
tuple->
size());
103 call.
Dump(MANUF__DUMP);
107 PyResult FactoryService::Handle_GetBlueprintInformationAtLocationWithFlag(
PyCallArgs &call) {
109 _log(MANUF__MESSAGE,
"FactoryService::Handle_GetBlueprintInformationAtLocationWithFlag() size= %u", call.
tuple->
size());
110 call.
Dump(MANUF__DUMP);
static PyRep * GetMaterialCompositionOfItemType(const uint32 typeID)
Dispatcher *const m_dispatch
#define _log(type, fmt,...)
virtual ~FactoryService()
Dispatcher *const m_dispatch
#define PyCallable_REG_CALL(c, m)
PyCallable_Make_InnerDispatcher(FactoryService) FactoryService
void Dump(LogType type) const
Reference-counting-based smart pointer.