1 // automatically generated by the FlatBuffers compiler, do not modify
2 
3 namespace NamespaceA.NamespaceB
4 {
5 
6 using System;
7 using FlatBuffers;
8 
9 public struct StructInNestedNS : IFlatbufferObject
10 {
11   private Struct __p;
12   public ByteBuffer ByteBuffer { get { return __p.bb; } }
__initNamespaceA.NamespaceB.StructInNestedNS13   public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
__assignNamespaceA.NamespaceB.StructInNestedNS14   public StructInNestedNS __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
15 
16   public int A { get { return __p.bb.GetInt(__p.bb_pos + 0); } }
MutateANamespaceA.NamespaceB.StructInNestedNS17   public void MutateA(int a) { __p.bb.PutInt(__p.bb_pos + 0, a); }
18   public int B { get { return __p.bb.GetInt(__p.bb_pos + 4); } }
MutateBNamespaceA.NamespaceB.StructInNestedNS19   public void MutateB(int b) { __p.bb.PutInt(__p.bb_pos + 4, b); }
20 
CreateStructInNestedNSNamespaceA.NamespaceB.StructInNestedNS21   public static Offset<StructInNestedNS> CreateStructInNestedNS(FlatBufferBuilder builder, int A, int B) {
22     builder.Prep(4, 8);
23     builder.PutInt(B);
24     builder.PutInt(A);
25     return new Offset<StructInNestedNS>(builder.Offset);
26   }
27 };
28 
29 
30 }
31