public static Offset <ConditionNewGameConfig> CreateConditionNewGameConfig(FlatBufferBuilder builder, StringOffset _idOffset = default(StringOffset), StringOffset nameOffset = default(StringOffset), bool enabled = false, int priority = 0, VectorOffset date_conditionsOffset = default(VectorOffset), VectorOffset user_conditionsOffset = default(VectorOffset), Offset <GM.DataCache.Options> optionsOffset = default(Offset <GM.DataCache.Options>), VectorOffset GameConfigOffset = default(VectorOffset)) { builder.StartObject(8); ConditionNewGameConfig.AddGameConfig(builder, GameConfigOffset); ConditionNewGameConfig.AddOptions(builder, optionsOffset); ConditionNewGameConfig.AddUserConditions(builder, user_conditionsOffset); ConditionNewGameConfig.AddDateConditions(builder, date_conditionsOffset); ConditionNewGameConfig.AddPriority(builder, priority); ConditionNewGameConfig.AddName(builder, nameOffset); ConditionNewGameConfig.Add_id(builder, _idOffset); ConditionNewGameConfig.AddEnabled(builder, enabled); return(ConditionNewGameConfig.EndConditionNewGameConfig(builder)); }
public ConditionNewGameConfig GetArray(ConditionNewGameConfig obj, int j) { int o = __offset(4); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null); }
public static ConditionNewGameConfig GetRootAsConditionNewGameConfig(ByteBuffer _bb, ConditionNewGameConfig obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }