Public Member Functions | |
TournamentTier | GetTier (int tierIndex) |
DateTime | GetUTCOfCycle (int cycle) |
int | GetCurrentCycleNumber () |
DateTime | GetUTCOfCyclesPrior (int cyclesPrior) |
![]() | |
void | SetIdAndVersion (string id, string version) |
ContentObject | SetContentName (string newContentName) |
void | BroadcastUpdate () |
virtual void | Validate (IValidationContext ctx) |
Validate this ContentObject . More... | |
bool | HasValidationErrors (IValidationContext ctx, out List< string > errors) |
bool | HasValidationExceptions (IValidationContext ctx, out List< ContentException > exceptions) |
List< ContentValidationException > | GetMemberValidationErrors (IValidationContext ctx) |
string | ToJson () |
Public Attributes | |
new string | name = "sample" |
string | anchorTimeUTC = "2020-01-01T12:00:00Z" |
readonly string | cycleDuration = "P1D" |
int | playerLimit |
List< TournamentTier > | tiers |
int | stagesPerTier |
Color | DefaultEntryColor = TournamentColorConstants.RED |
Color | ChampionColor = TournamentColorConstants.GOLD |
List< TournamentStageChange > | stageChanges |
List< TournamentRankReward > | rankRewards |
![]() | |
string | ContentVersion => Version |
string | ContentType => _contentTypeName ?? (_contentTypeName = GetContentTypeName(GetType())) |
string | Id => $"{ContentType}.{ContentName}" |
![]() | |
string | name |
Additional Inherited Members | |
![]() | |
static string | GetContentTypeName (Type contentType) |
static string | GetContentType< TContent > () |
static TContent | Make< TContent > (string name) |
![]() | |
static T | CreateInstance< T > () |
![]() | |
string | ContentName [get] |
string | Version [get] |
string[]?? | Tags [get, set] |
![]() | |
string | Id [get] |
string | Version [get] |
string[] | Tags [get] |
![]() | |
ContentDelegate | OnChanged |
List<TournamentRankReward> Beamable.Common.Tournaments.TournamentContent.rankRewards |
List<TournamentStageChange> Beamable.Common.Tournaments.TournamentContent.stageChanges |
List<TournamentTier> Beamable.Common.Tournaments.TournamentContent.tiers |