Closed LucBerge closed 11 months ago
Can be found with the regex output.writeShort((this.{name}
TypeIdVector<Short,Short,ObjectEffect>
Seams to be the best solution
Vector<Short,[Short,ObjectEffect]> is a good option too
Is the lenght param always a Short ?
In ChatServerWithObjectMessage.as there is an attribute called
objects
of typeVector.<ObjectItem>
. It is serialzed this way:The type must be
Vector<Short,ObjectItem>
In ObjectItem.as there is an attribute called
effects
of typeVector.<ObjectEffect>
. It is serialzed this way:The type must include the fact that the
TypeId
is serialized beforeObjectEffect
.In
events.json
, the attribute type must include this information. Something like:Vector<Short,Short,ObjectEffect>
TypeIdVector<Short,Short,ObjectEffect>
TypeIdVector<Short,ObjectEffect>
TypeId
is always serialized as aShort
.