1 // automatically generated by the FlatBuffers compiler, do not modify 2 3 package MyGame.Example; 4 5 import java.nio.*; 6 import java.lang.*; 7 import java.util.*; 8 import com.google.flatbuffers.*; 9 10 public class NestedStructT { 11 private int[] a; 12 private byte b; 13 private byte[] c; 14 private long[] d; 15 getA()16 public int[] getA() { return a; } 17 setA(int[] a)18 public void setA(int[] a) { if (a != null && a.length == 2) this.a = a; } 19 getB()20 public byte getB() { return b; } 21 setB(byte b)22 public void setB(byte b) { this.b = b; } 23 getC()24 public byte[] getC() { return c; } 25 setC(byte[] c)26 public void setC(byte[] c) { if (c != null && c.length == 2) this.c = c; } 27 getD()28 public long[] getD() { return d; } 29 setD(long[] d)30 public void setD(long[] d) { if (d != null && d.length == 2) this.d = d; } 31 32 NestedStructT()33 public NestedStructT() { 34 this.a = new int[2]; 35 this.b = 0; 36 this.c = new byte[2]; 37 this.d = new long[2]; 38 } 39 } 40 41