public static Offset <Config.TestTableArraysTemplate> CreateTestTableArraysTemplate(FlatBufferBuilder builder, int id = 0, VectorOffset weaponsOffset = default(VectorOffset), Offset <Position3d> born_positionOffset = default(Offset <Position3d>), VectorOffset test_typesOffset = default(VectorOffset), StringOffset modelOffset = default(StringOffset), StringOffset iconOffset = default(StringOffset), StringOffset machine_typeOffset = default(StringOffset), StringOffset map_typeOffset = default(StringOffset)) { builder.StartTable(8); TestTableArraysTemplate.AddMapType(builder, map_typeOffset); TestTableArraysTemplate.AddMachineType(builder, machine_typeOffset); TestTableArraysTemplate.AddIcon(builder, iconOffset); TestTableArraysTemplate.AddModel(builder, modelOffset); TestTableArraysTemplate.AddTestTypes(builder, test_typesOffset); TestTableArraysTemplate.AddBornPosition(builder, born_positionOffset); TestTableArraysTemplate.AddWeapons(builder, weaponsOffset); TestTableArraysTemplate.AddId(builder, id); return(TestTableArraysTemplate.EndTestTableArraysTemplate(builder)); }
public static TestTableArraysTemplate GetRootAsTestTableArraysTemplate(ByteBuffer _bb, TestTableArraysTemplate obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }