• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // automatically generated by the FlatBuffers compiler, do not modify
2 
3 package MyGame;
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 @SuppressWarnings("unused")
23 public final class InParentNamespace extends Table {
ValidateVersion()24   public static void ValidateVersion() { Constants.FLATBUFFERS_25_1_24(); }
getRootAsInParentNamespace(ByteBuffer _bb)25   public static InParentNamespace getRootAsInParentNamespace(ByteBuffer _bb) { return getRootAsInParentNamespace(_bb, new InParentNamespace()); }
getRootAsInParentNamespace(ByteBuffer _bb, InParentNamespace obj)26   public static InParentNamespace getRootAsInParentNamespace(ByteBuffer _bb, InParentNamespace obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
__init(int _i, ByteBuffer _bb)27   public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
__assign(int _i, ByteBuffer _bb)28   public InParentNamespace __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
29 
30 
startInParentNamespace(FlatBufferBuilder builder)31   public static void startInParentNamespace(FlatBufferBuilder builder) { builder.startTable(0); }
endInParentNamespace(FlatBufferBuilder builder)32   public static int endInParentNamespace(FlatBufferBuilder builder) {
33     int o = builder.endTable();
34     return o;
35   }
36 
37   public static final class Vector extends BaseVector {
__assign(int _vector, int _element_size, ByteBuffer _bb)38     public Vector __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb); return this; }
39 
get(int j)40     public InParentNamespace get(int j) { return get(new InParentNamespace(), j); }
get(InParentNamespace obj, int j)41     public InParentNamespace get(InParentNamespace obj, int j) {  return obj.__assign(__indirect(__element(j), bb), bb); }
42   }
unpack()43   public InParentNamespaceT unpack() {
44     InParentNamespaceT _o = new InParentNamespaceT();
45     unpackTo(_o);
46     return _o;
47   }
unpackTo(InParentNamespaceT _o)48   public void unpackTo(InParentNamespaceT _o) {
49   }
pack(FlatBufferBuilder builder, InParentNamespaceT _o)50   public static int pack(FlatBufferBuilder builder, InParentNamespaceT _o) {
51     if (_o == null) return 0;
52     startInParentNamespace(builder);
53     return endInParentNamespace(builder);
54   }
55 }
56 
57