• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // automatically generated by the FlatBuffers compiler, do not modify
2 
3 package MyGame.Example;
4 
5 import com.google.flatbuffers.BaseVector;
6 import com.google.flatbuffers.BooleanVector;
7 import com.google.flatbuffers.ByteVector;
8 import com.google.flatbuffers.Constants;
9 import com.google.flatbuffers.DoubleVector;
10 import com.google.flatbuffers.FlatBufferBuilder;
11 import com.google.flatbuffers.FloatVector;
12 import com.google.flatbuffers.IntVector;
13 import com.google.flatbuffers.LongVector;
14 import com.google.flatbuffers.ShortVector;
15 import com.google.flatbuffers.StringVector;
16 import com.google.flatbuffers.Struct;
17 import com.google.flatbuffers.Table;
18 import com.google.flatbuffers.UnionVector;
19 import java.nio.ByteBuffer;
20 import java.nio.ByteOrder;
21 
22 public class ArrayStructT {
23   private float a;
24   private int[] b;
25   private byte c;
26   private MyGame.Example.NestedStructT[] d;
27   private int e;
28   private long[] f;
29 
getA()30   public float getA() { return a; }
31 
setA(float a)32   public void setA(float a) { this.a = a; }
33 
getB()34   public int[] getB() { return b; }
35 
setB(int[] b)36   public void setB(int[] b) { if (b != null && b.length == 15) this.b = b; }
37 
getC()38   public byte getC() { return c; }
39 
setC(byte c)40   public void setC(byte c) { this.c = c; }
41 
getD()42   public MyGame.Example.NestedStructT[] getD() { return d; }
43 
setD(MyGame.Example.NestedStructT[] d)44   public void setD(MyGame.Example.NestedStructT[] d) { if (d != null && d.length == 2) this.d = d; }
45 
getE()46   public int getE() { return e; }
47 
setE(int e)48   public void setE(int e) { this.e = e; }
49 
getF()50   public long[] getF() { return f; }
51 
setF(long[] f)52   public void setF(long[] f) { if (f != null && f.length == 2) this.f = f; }
53 
54 
ArrayStructT()55   public ArrayStructT() {
56     this.a = 0.0f;
57     this.b = new int[15];
58     this.c = 0;
59     this.d = new MyGame.Example.NestedStructT[2];
60     this.e = 0;
61     this.f = new long[2];
62   }
63 }
64 
65