1 // <auto-generated> 2 // automatically generated by the FlatBuffers compiler, do not modify 3 // </auto-generated> 4 5 namespace MyGame 6 { 7 8 using global::System; 9 using global::System.Collections.Generic; 10 using global::FlatBuffers; 11 12 public struct InParentNamespace : IFlatbufferObject 13 { 14 private Table __p; 15 public ByteBuffer ByteBuffer { get { return __p.bb; } } ValidateVersionMyGame.InParentNamespace16 public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_2_0_0(); } GetRootAsInParentNamespaceMyGame.InParentNamespace17 public static InParentNamespace GetRootAsInParentNamespace(ByteBuffer _bb) { return GetRootAsInParentNamespace(_bb, new InParentNamespace()); } GetRootAsInParentNamespaceMyGame.InParentNamespace18 public static InParentNamespace GetRootAsInParentNamespace(ByteBuffer _bb, InParentNamespace obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } __initMyGame.InParentNamespace19 public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } __assignMyGame.InParentNamespace20 public InParentNamespace __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } 21 22 StartInParentNamespaceMyGame.InParentNamespace23 public static void StartInParentNamespace(FlatBufferBuilder builder) { builder.StartTable(0); } EndInParentNamespaceMyGame.InParentNamespace24 public static Offset<MyGame.InParentNamespace> EndInParentNamespace(FlatBufferBuilder builder) { 25 int o = builder.EndTable(); 26 return new Offset<MyGame.InParentNamespace>(o); 27 } UnPackMyGame.InParentNamespace28 public InParentNamespaceT UnPack() { 29 var _o = new InParentNamespaceT(); 30 this.UnPackTo(_o); 31 return _o; 32 } UnPackToMyGame.InParentNamespace33 public void UnPackTo(InParentNamespaceT _o) { 34 } PackMyGame.InParentNamespace35 public static Offset<MyGame.InParentNamespace> Pack(FlatBufferBuilder builder, InParentNamespaceT _o) { 36 if (_o == null) return default(Offset<MyGame.InParentNamespace>); 37 StartInParentNamespace(builder); 38 return EndInParentNamespace(builder); 39 } 40 }; 41 42 public class InParentNamespaceT 43 { 44 InParentNamespaceT()45 public InParentNamespaceT() { 46 } 47 } 48 49 50 } 51