31 #include "SetDataRefTask.h"
42 using hu::varadiistvan::scpl::io::DataStream;
52 string name = stream.readString();
53 uint8_t type = stream.readU8();
54 if (!stream)
return 0;
66 int length = stream.readS32();
67 int offset = stream.readS32();
68 if (!stream)
return 0;
97 value = stream.readS32();
105 value = stream.readFloat();
113 value = stream.readDouble();
static const uint8_t RESULT_INVALID_LENGTH
static const uint8_t TYPE_FLOAT_ARRAY
static const uint8_t RESULT_OK
static const uint8_t TYPE_INT
static const uint8_t RESULT_INVALID_OFFSET
static const uint8_t TYPE_DOUBLE
static const uint8_t RESULT_INVALID_TYPE
static const uint8_t TYPE_FLOAT
static const uint8_t TYPE_INT_ARRAY
static const uint8_t TYPE_BYTE_ARRAY
static const int MAX_LENGTH
virtual void readValue(hu::varadiistvan::scpl::io::DataStream &stream)
virtual void readValue(hu::varadiistvan::scpl::io::DataStream &stream)
virtual void readValue(hu::varadiistvan::scpl::io::DataStream &stream)