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