@@ -31,37 +31,45 @@ public final class RobotTypeMetadata extends Table {
3131 public int actionCooldown () { int o = __offset (6 ); return o != 0 ? bb .getInt (o + bb_pos ) : 0 ; }
3232 public int movementCooldown () { int o = __offset (8 ); return o != 0 ? bb .getInt (o + bb_pos ) : 0 ; }
3333 public int baseHealth () { int o = __offset (10 ); return o != 0 ? bb .getInt (o + bb_pos ) : 0 ; }
34- public int actionRadiusSquared () { int o = __offset (12 ); return o != 0 ? bb .getInt (o + bb_pos ) : 0 ; }
35- public int visionRadiusSquared () { int o = __offset (14 ); return o != 0 ? bb .getInt (o + bb_pos ) : 0 ; }
36- public int bytecodeLimit () { int o = __offset (16 ); return o != 0 ? bb .getInt (o + bb_pos ) : 0 ; }
34+ public int basePaint () { int o = __offset (12 ); return o != 0 ? bb .getInt (o + bb_pos ) : 0 ; }
35+ public int maxPaint () { int o = __offset (14 ); return o != 0 ? bb .getInt (o + bb_pos ) : 0 ; }
36+ public int actionRadiusSquared () { int o = __offset (16 ); return o != 0 ? bb .getInt (o + bb_pos ) : 0 ; }
37+ public int visionRadiusSquared () { int o = __offset (18 ); return o != 0 ? bb .getInt (o + bb_pos ) : 0 ; }
38+ public int bytecodeLimit () { int o = __offset (20 ); return o != 0 ? bb .getInt (o + bb_pos ) : 0 ; }
3739
3840 public static int createRobotTypeMetadata (FlatBufferBuilder builder ,
3941 byte type ,
4042 int actionCooldown ,
4143 int movementCooldown ,
4244 int baseHealth ,
45+ int basePaint ,
46+ int maxPaint ,
4347 int actionRadiusSquared ,
4448 int visionRadiusSquared ,
4549 int bytecodeLimit ) {
46- builder .startTable (7 );
50+ builder .startTable (9 );
4751 RobotTypeMetadata .addBytecodeLimit (builder , bytecodeLimit );
4852 RobotTypeMetadata .addVisionRadiusSquared (builder , visionRadiusSquared );
4953 RobotTypeMetadata .addActionRadiusSquared (builder , actionRadiusSquared );
54+ RobotTypeMetadata .addMaxPaint (builder , maxPaint );
55+ RobotTypeMetadata .addBasePaint (builder , basePaint );
5056 RobotTypeMetadata .addBaseHealth (builder , baseHealth );
5157 RobotTypeMetadata .addMovementCooldown (builder , movementCooldown );
5258 RobotTypeMetadata .addActionCooldown (builder , actionCooldown );
5359 RobotTypeMetadata .addType (builder , type );
5460 return RobotTypeMetadata .endRobotTypeMetadata (builder );
5561 }
5662
57- public static void startRobotTypeMetadata (FlatBufferBuilder builder ) { builder .startTable (7 ); }
63+ public static void startRobotTypeMetadata (FlatBufferBuilder builder ) { builder .startTable (9 ); }
5864 public static void addType (FlatBufferBuilder builder , byte type ) { builder .addByte (0 , type , 0 ); }
5965 public static void addActionCooldown (FlatBufferBuilder builder , int actionCooldown ) { builder .addInt (1 , actionCooldown , 0 ); }
6066 public static void addMovementCooldown (FlatBufferBuilder builder , int movementCooldown ) { builder .addInt (2 , movementCooldown , 0 ); }
6167 public static void addBaseHealth (FlatBufferBuilder builder , int baseHealth ) { builder .addInt (3 , baseHealth , 0 ); }
62- public static void addActionRadiusSquared (FlatBufferBuilder builder , int actionRadiusSquared ) { builder .addInt (4 , actionRadiusSquared , 0 ); }
63- public static void addVisionRadiusSquared (FlatBufferBuilder builder , int visionRadiusSquared ) { builder .addInt (5 , visionRadiusSquared , 0 ); }
64- public static void addBytecodeLimit (FlatBufferBuilder builder , int bytecodeLimit ) { builder .addInt (6 , bytecodeLimit , 0 ); }
68+ public static void addBasePaint (FlatBufferBuilder builder , int basePaint ) { builder .addInt (4 , basePaint , 0 ); }
69+ public static void addMaxPaint (FlatBufferBuilder builder , int maxPaint ) { builder .addInt (5 , maxPaint , 0 ); }
70+ public static void addActionRadiusSquared (FlatBufferBuilder builder , int actionRadiusSquared ) { builder .addInt (6 , actionRadiusSquared , 0 ); }
71+ public static void addVisionRadiusSquared (FlatBufferBuilder builder , int visionRadiusSquared ) { builder .addInt (7 , visionRadiusSquared , 0 ); }
72+ public static void addBytecodeLimit (FlatBufferBuilder builder , int bytecodeLimit ) { builder .addInt (8 , bytecodeLimit , 0 ); }
6573 public static int endRobotTypeMetadata (FlatBufferBuilder builder ) {
6674 int o = builder .endTable ();
6775 return o ;
@@ -73,5 +81,4 @@ public static final class Vector extends BaseVector {
7381 public RobotTypeMetadata get (int j ) { return get (new RobotTypeMetadata (), j ); }
7482 public RobotTypeMetadata get (RobotTypeMetadata obj , int j ) { return obj .__assign (__indirect (__element (j ), bb ), bb ); }
7583 }
76- }
77-
84+ }
0 commit comments