31 #include "SetMultiDataRefRequest.h"
39 using hu::varadiistvan::scpl::io::DataStream;
43 SetMultiDataRefRequest::SetMultiDataRefRequest(uint8_t& result,
49 uint32_t numTasks = stream.readU32();
73 for(
size_t i = 0; i<numTasks && stream; ++i) {
84 for(
size_t i = 0; i<numTasks; ++i) {
SetDataRefTask * getTask(size_t index) const
void addTask(SetDataRefTask *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
static SetDataRefTask * create(uint8_t &result, hu::varadiistvan::scpl::io::DataStream &stream)
virtual void readValue(hu::varadiistvan::scpl::io::DataStream &stream)=0
void readValues(hu::varadiistvan::scpl::io::DataStream &stream)
void writeResult(hu::varadiistvan::scpl::io::DataStream &stream) const