• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // automatically generated by the FlatBuffers compiler, do not modify
2 
3 package MyGame;
4 
5 import java.nio.*;
6 import java.lang.*;
7 import java.util.*;
8 import com.google.flatbuffers.*;
9 
10 @SuppressWarnings("unused")
11 public final class InParentNamespace extends Table {
ValidateVersion()12   public static void ValidateVersion() { Constants.FLATBUFFERS_2_0_0(); }
getRootAsInParentNamespace(ByteBuffer _bb)13   public static InParentNamespace getRootAsInParentNamespace(ByteBuffer _bb) { return getRootAsInParentNamespace(_bb, new InParentNamespace()); }
getRootAsInParentNamespace(ByteBuffer _bb, InParentNamespace obj)14   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)15   public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
__assign(int _i, ByteBuffer _bb)16   public InParentNamespace __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
17 
18 
startInParentNamespace(FlatBufferBuilder builder)19   public static void startInParentNamespace(FlatBufferBuilder builder) { builder.startTable(0); }
endInParentNamespace(FlatBufferBuilder builder)20   public static int endInParentNamespace(FlatBufferBuilder builder) {
21     int o = builder.endTable();
22     return o;
23   }
24 
25   public static final class Vector extends BaseVector {
__assign(int _vector, int _element_size, ByteBuffer _bb)26     public Vector __assign(int _vector, int _element_size, ByteBuffer _bb) { __reset(_vector, _element_size, _bb); return this; }
27 
get(int j)28     public InParentNamespace get(int j) { return get(new InParentNamespace(), j); }
get(InParentNamespace obj, int j)29     public InParentNamespace get(InParentNamespace obj, int j) {  return obj.__assign(__indirect(__element(j), bb), bb); }
30   }
31 }
32 
33