Jamclass
A game jam: the theme, the schedule, the categories and their prizes, and the package query that lists the entries. Read-only. Voting lives in the menu.
Constructors1
Showing 1 constructors
public Jam()
No results match this filter.
Methods4
Showing 4 methods
public static System.Threading.Tasks.Task`1<Sandbox.Services.Jam> Get(string ident)
One jam by its url name, e.g. "three". Null if it doesn't exist or isn't public yet.
| Parameter | Type | Description |
|---|---|---|
| ident | string | — |
public static System.Threading.Tasks.Task`1<Sandbox.Services.Jam> GetActive()
The jam that is on right now: teased, running, or crowned within the last week. Null between jams. Cached for a few minutes, and falls back to the last copy on disk if the backend is unreachable.
public static void ResetEditorPreview()
Restores the ordinary day-offset preview clock after an editor rehearsal.
void—public static void SeekEditorPreview(System.DateTimeOffset target)
Seeks the running jam clock for editor rehearsals. This does not change backend time or voting. Only available in the editor with a positive preview-day offset.
| Parameter | Type | Description |
|---|---|---|
| target | DateTimeOffset | — |
void—No results match this filter.
Properties28
Showing 28 properties
public bool Sandbox.Services.Jam.AcceptingEntries { get; set; }
True while entries can still be submitted.
bool—public System.Nullable`1<System.DateTimeOffset> Sandbox.Services.Jam.Announced { get; set; }
When the teaser went public. Null when the jam had no teaser phase.
Nullable<DateTimeOffset>—public bool Sandbox.Services.Jam.CommunityVoting { get; set; }
Whether the winners are decided by the players who play the entries.
bool—public Sandbox.Services.Jam.Phase Sandbox.Services.Jam.CurrentPhase { get; set; }
The step the jam is on right now.
public int Sandbox.Services.Jam.CurrentStepIndex { get; set; }
The step in `Sandbox.Services.Jam.Timeline` that is current, or -1 before the first one.
int—public System.DateTimeOffset Sandbox.Services.Jam.Deadline { get; set; }
Entries close.
DateTimeOffset—public string Sandbox.Services.Jam.Description { get; set; }
string—public int Sandbox.Services.Jam.EntryCount { get; set; }
int—public System.DateTimeOffset Sandbox.Services.Jam.FinalsStart { get; set; }
The first elimination round opens.
DateTimeOffset—public System.Nullable`1<System.DateTimeOffset> Sandbox.Services.Jam.GrandFinal { get; set; }
The last two go head to head. Null when the jam has no distinct grand final.
Nullable<DateTimeOffset>—public bool Sandbox.Services.Jam.HasStarted { get; set; }
True once the theme has dropped and entries are open.
bool—public string Sandbox.Services.Jam.Ident { get; set; }
Short url name, e.g. "three". Stable for the life of the jam.
string—public static bool Sandbox.Services.Jam.IsEditorPreview { get; set; }
Whether the editor can rehearse local jam transitions without submitting votes.
bool—public bool Sandbox.Services.Jam.IsLive { get; set; }
True from the theme drop until the winners are crowned.
bool—public int Sandbox.Services.Jam.MinPlaySeconds { get; set; }
Seconds a player must have played an entry before they can nominate it.
int—public Sandbox.Services.Jam.Step Sandbox.Services.Jam.NextStep { get; set; }
The next step to come, or null once the jam is on its last one.
public System.DateTimeOffset Sandbox.Services.Jam.NominationsEnd { get; set; }
Nominations lock and the finalists are cut.
DateTimeOffset—public System.DateTimeOffset Sandbox.Services.Jam.Now { get; set; }
The clock this jam was fetched against. Normally the real time, but shifted when `Sandbox.Services.Jam.PreviewDays` is set, so compare dates to this rather than to UtcNow.
DateTimeOffset—public static int Sandbox.Services.Jam.PreviewDays { get; set; }
Move the jam clock this many days ahead. Needs an admin account on the backend, for looking at a phase before it happens.
int—public string Sandbox.Services.Jam.PrizePool { get; set; }
Headline prize figure as it should read, e.g. "£50,000".
string—public string Sandbox.Services.Jam.Query { get; set; }
Package search query that lists the entries, e.g. "jam:three".
string—public System.DateTimeOffset Sandbox.Services.Jam.Results { get; set; }
Winners crowned.
DateTimeOffset—public System.DateTimeOffset Sandbox.Services.Jam.Starts { get; set; }
The theme drop. Building and entries open here.
DateTimeOffset—public string Sandbox.Services.Jam.Theme { get; set; }
The theme. Null until the jam has started.
string—public Sandbox.Services.Jam.Step[] Sandbox.Services.Jam.Timeline { get; set; }
The jam's steps in order.
public string Sandbox.Services.Jam.Url { get; set; }
The jam page on the website.
string—No results match this filter.