public static Offset <EnemyHP> CreateEnemyHP(FlatBufferBuilder builder, int waves = 0, VectorOffset hpOffset = default(VectorOffset)) { builder.StartObject(2); EnemyHP.AddHp(builder, hpOffset); EnemyHP.AddWaves(builder, waves); return(EnemyHP.EndEnemyHP(builder)); }
public static EnemyHP GetRootAsEnemyHP(ByteBuffer _bb, EnemyHP obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }