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 ArrayStructT { 11 private float a; 12 private int[] b; 13 private byte c; 14 private MyGame.Example.NestedStructT[] d; 15 private int e; 16 private long[] f; 17 getA()18 public float getA() { return a; } 19 setA(float a)20 public void setA(float a) { this.a = a; } 21 getB()22 public int[] getB() { return b; } 23 setB(int[] b)24 public void setB(int[] b) { if (b != null && b.length == 15) this.b = b; } 25 getC()26 public byte getC() { return c; } 27 setC(byte c)28 public void setC(byte c) { this.c = c; } 29 getD()30 public MyGame.Example.NestedStructT[] getD() { return d; } 31 setD(MyGame.Example.NestedStructT[] d)32 public void setD(MyGame.Example.NestedStructT[] d) { if (d != null && d.length == 2) this.d = d; } 33 getE()34 public int getE() { return e; } 35 setE(int e)36 public void setE(int e) { this.e = e; } 37 getF()38 public long[] getF() { return f; } 39 setF(long[] f)40 public void setF(long[] f) { if (f != null && f.length == 2) this.f = f; } 41 42 ArrayStructT()43 public ArrayStructT() { 44 this.a = 0.0f; 45 this.b = new int[15]; 46 this.c = 0; 47 this.d = new MyGame.Example.NestedStructT[2]; 48 this.e = 0; 49 this.f = new long[2]; 50 } 51 } 52 53