View Source Teiserver.Game.MatchSetting (Teiserver v0.0.4)
MatchSetting
Settings applied to matches
Attributes
:type_id
/:type
- The type of setting:match_id
/:match
- The match the setting was used for:value
- The value of the setting
Summary
Functions
Builds a changeset based on the struct
and params
.
Types
@type t() :: %Teiserver.Game.MatchSetting{ __meta__: term(), match: term(), match_id: Teiserver.match_id(), type: term(), type_id: Teiserver.Game.MatchSettingType.id(), value: String.t() }
Functions
@spec changeset(map(), map()) :: Ecto.Changeset.t()
Builds a changeset based on the struct
and params
.