31 #include "GetMultiDataRefRequest.h"
35 #include <hu/varadiistvan/xplcommon/Util.h>
41 using hu::varadiistvan::scpl::io::DataStream;
42 using hu::varadiistvan::xplcommon::Util;
46 GetMultiDataRefRequest::GetMultiDataRefRequest(uint8_t& result,
51 uint32_t numTasks = stream.readU32();
72 for(
size_t i = 0; i<numTasks; ++i) {
84 for(
size_t i = 0; i<numTasks; ++i) {
virtual void writeValue(hu::varadiistvan::scpl::io::DataStream &stream)=0
static GetDataRefTask * create(uint8_t &result, hu::varadiistvan::scpl::io::DataStream &stream)
void writeResult(hu::varadiistvan::scpl::io::DataStream &stream) const
GetDataRefTask * getTask(size_t index) const
void addTask(GetDataRefTask *task)
size_t getNumTasks() const
static const size_t MAX_MULTI_COUNT
static const uint8_t RESULT_OK
static const uint8_t RESULT_UNKNOWN_DATAREF
static const uint8_t RESULT_INVALID_COUNT