include "Shared/BattleType.fbs";

namespace pkNX.Structures.FlatBuffers.SV;
attribute "fs_serializer";

enum LevelType : int {
    NORMAL = 0,
    FLAT = 1,
    NON_LIMITED = 2,
}

table NetBattleRuleParam {
    BattleRuleId:int;
    BattleType:BattleType;
    LevelType:LevelType = NORMAL;
}

table NetBattleRuleParamArray (fs_serializer) {
    Table:[NetBattleRuleParam] (required);
}

root_type NetBattleRuleParamArray;
