public ControllerAssignmentsChunk() { TypeID = RiffTypeID; Version = 1; ControllerAssignment cv = new ControllerAssignment(); cv.name = "bla"; cv.id = 0; cv.autoname = false; cv.vflag = false; controllerAssignments = new ControllerAssignments(); controllerAssignments.controllerAssignments.Add(new List <ControllerAssignment> { cv }); }
public override void DeserializeMessagePack(byte[] buffer) { controllerAssignments = MessagePackSerializer.Deserialize <ControllerAssignments>(buffer); }