예제 #1
0
 public static TypeAmount GetRootAsTypeAmount(ByteBuffer _bb, TypeAmount obj)
 {
     return (obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
예제 #2
0
 public TypeAmount GetPlayerResources(TypeAmount obj, int j)
 {
     int o = __offset(20); return o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null;
 }
예제 #3
0
 public TypeAmount GetCargo(TypeAmount obj, int j)
 {
     int o = __offset(12); return o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null;
 }