James Kuszmaul | 8e62b02 | 2022-03-22 09:33:25 -0700 | [diff] [blame] | 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 | |
| 18 | public float getA() { return a; } |
| 19 | |
| 20 | public void setA(float a) { this.a = a; } |
| 21 | |
| 22 | public int[] getB() { return b; } |
| 23 | |
| 24 | public void setB(int[] b) { if (b != null && b.length == 15) this.b = b; } |
| 25 | |
| 26 | public byte getC() { return c; } |
| 27 | |
| 28 | public void setC(byte c) { this.c = c; } |
| 29 | |
| 30 | public MyGame.Example.NestedStructT[] getD() { return d; } |
| 31 | |
| 32 | public void setD(MyGame.Example.NestedStructT[] d) { if (d != null && d.length == 2) this.d = d; } |
| 33 | |
| 34 | public int getE() { return e; } |
| 35 | |
| 36 | public void setE(int e) { this.e = e; } |
| 37 | |
| 38 | public long[] getF() { return f; } |
| 39 | |
| 40 | public void setF(long[] f) { if (f != null && f.length == 2) this.f = f; } |
| 41 | |
| 42 | |
| 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 | |