Differential D4616 Diff 21032 ps/trunk/binaries/data/mods/public/gui/common/campaigns/CampaignRun.js
Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/common/campaigns/CampaignRun.js
Show All 32 Lines | g_CurrentCampaignRun = { | ||||
"run": run, | "run": run, | ||||
"ID": current | "ID": current | ||||
}; | }; | ||||
return run; | return run; | ||||
} | } | ||||
static clearCurrentRun() | static clearCurrentRun() | ||||
{ | { | ||||
Engine.ConfigDB_RemoveValue("user", "currentcampaign"); | Engine.ConfigDB_RemoveValueAndSave("user", "currentcampaign"); | ||||
Engine.ConfigDB_WriteFile("user", "config/user.cfg"); | |||||
} | } | ||||
constructor(name = "") | constructor(name = "") | ||||
{ | { | ||||
this.filename = name; | this.filename = name; | ||||
// Metadata on the run, such as its description. | // Metadata on the run, such as its description. | ||||
this.meta = {}; | this.meta = {}; | ||||
// 'User' data | // 'User' data | ||||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator