public static void addMana(FlatBufferBuilder builder, short mana) {
   builder.addShort(1, mana, 150);
 }
 public static void addHp(FlatBufferBuilder builder, short hp) {
   builder.addShort(2, hp, 100);
 }
Esempio n. 3
0
 public static void addCount(FlatBufferBuilder builder, int count) {
   builder.addShort(2, (short) count, 0);
 }