blob: 9aba8db7efb6c6bd81af5ffc84704a45f23cd75f [file] [log] [blame]
Austin Schuhe89fa2d2019-08-14 20:24:23 -07001// <auto-generated>
2// automatically generated by the FlatBuffers compiler, do not modify
3// </auto-generated>
4
5namespace NamespaceA.NamespaceB
6{
7
8using global::System;
9using global::FlatBuffers;
10
11public struct StructInNestedNS : IFlatbufferObject
12{
13 private Struct __p;
14 public ByteBuffer ByteBuffer { get { return __p.bb; } }
15 public void __init(int _i, ByteBuffer _bb) { __p = new Struct(_i, _bb); }
16 public StructInNestedNS __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
17
18 public int A { get { return __p.bb.GetInt(__p.bb_pos + 0); } }
19 public void MutateA(int a) { __p.bb.PutInt(__p.bb_pos + 0, a); }
20 public int B { get { return __p.bb.GetInt(__p.bb_pos + 4); } }
21 public void MutateB(int b) { __p.bb.PutInt(__p.bb_pos + 4, b); }
22
23 public static Offset<NamespaceA.NamespaceB.StructInNestedNS> CreateStructInNestedNS(FlatBufferBuilder builder, int A, int B) {
24 builder.Prep(4, 8);
25 builder.PutInt(B);
26 builder.PutInt(A);
27 return new Offset<NamespaceA.NamespaceB.StructInNestedNS>(builder.Offset);
28 }
29};
30
31
32}