Container for unknown ValueTypes.
Methods
ValueType.new(type_definition)
self:call(name, args...)
self:get_field(name)
self:set_field(name, value)
Note that this does not change anything in-game. ValueType
is just a local copy.
You'll need to pass the ValueType
somewhere that would make use of the changed data.
self:address()
self:get_type_definition()
self.type
self.data
std::vector<uint8_t>
Dangerous Methods
Only use these if necessary!