GenPackUnPack_ObjectAPI(struct_def, code_ptr, opts, struct_has_create,
field_has_create_set);
}
- code += "};\n\n";
+ code += "}\n\n";
if (opts.generate_object_based_api) {
GenStruct_ObjectAPI(struct_def, code_ptr, opts);
_o.Id,
_o.Distance);
}
-};
+}
public class AbilityT
{
_o.E,
_f);
}
-};
+}
public class ArrayStructT
{
AddA(builder, MyGame.Example.ArrayStruct.Pack(builder, _o.A));
return EndArrayTable(builder);
}
-};
+}
public class ArrayTableT
{
_testrequirednestedflatbuffer,
_scalar_key_sorted_tables);
}
-};
+}
public class MonsterT
{
_c,
_d);
}
-};
+}
public class NestedStructT
{
builder,
_o.Id);
}
-};
+}
public class ReferrableT
{
_o.Val,
_o.Count);
}
-};
+}
public class StatT
{
_c_id,
_c_distance);
}
-};
+}
public class StructOfStructsT
{
_o.A,
_o.B);
}
-};
+}
public class TestT
{
builder,
_o.Color);
}
-};
+}
internal partial class TestSimpleTableWithEnumT
{
_v8,
_vf64);
}
-};
+}
public class TypeAliasesT
{
_test3_a,
_test3_b);
}
-};
+}
public class Vec3T
{
StartMonster(builder);
return EndMonster(builder);
}
-};
+}
public class MonsterT
{
StartInParentNamespace(builder);
return EndInParentNamespace(builder);
}
-};
+}
public class InParentNamespaceT
{
_dvec,
_fvec);
}
-};
+}
public class MonsterExtraT
{
_o.Is,
_o.Private);
}
-};
+}
public class KeywordsInTableT
{
_o.A,
_o.B);
}
-};
+}
public class StructInNestedNST
{
builder,
_o.Foo);
}
-};
+}
public class TableInNestedNST
{
builder,
_refer_to_c);
}
-};
+}
public class SecondTableInAT
{
_foo_union,
_o.FooStruct);
}
-};
+}
public class TableInFirstNST
{
_refer_to_a1,
_refer_to_a2);
}
-};
+}
public class TableInCT
{
_o.MaybeEnum,
_o.DefaultEnum);
}
-};
+}
public class ScalarStuffT
{
builder,
_o.SwordAttackDamage);
}
-};
+}
public class AttackerT
{
builder,
_o.BooksRead);
}
-};
+}
public class BookReaderT
{
_characters_type,
_characters);
}
-};
+}
public class MovieT
{
builder,
_o.HairLength);
}
-};
+}
public class RapunzelT
{