struct Srcom::Run::Submission::Player
- Srcom::Run::Submission::Player
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
srcr/mappings/run/submission/submission_player.crConstructors
- .new(pull : JSON::PullParser)
-
.new(rel : String = "user", id : String? = nil, name : String? = nil)
If this
Player
is a "user" it must have an id; if it is a "guest" it must have a name.
Instance Method Summary
Constructor Detail
If this Player
is a "user" it must have an id; if it is a "guest" it must have a name.