Differential D2652 Diff 13601 ps/trunk/binaries/data/mods/public/gui/session/selection_panels_helpers.js
Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/session/selection_panels_helpers.js
Show First 20 Lines • Show All 311 Lines • ▼ Show 20 Lines | function cancelPackUnit(pack) | ||||
Engine.PostNetworkCommand({ | Engine.PostNetworkCommand({ | ||||
"type": "cancel-pack", | "type": "cancel-pack", | ||||
"entities": g_Selection.toList(), | "entities": g_Selection.toList(), | ||||
"pack": pack, | "pack": pack, | ||||
"queued": false | "queued": false | ||||
}); | }); | ||||
} | } | ||||
function upgradeEntity(Template) | function upgradeEntity(Template, selection) | ||||
{ | { | ||||
Engine.PostNetworkCommand({ | Engine.PostNetworkCommand({ | ||||
"type": "upgrade", | "type": "upgrade", | ||||
"entities": g_Selection.toList(), | "entities": selection, | ||||
"template": Template, | "template": Template, | ||||
"queued": false | "queued": false | ||||
}); | }); | ||||
} | } | ||||
function cancelUpgradeEntity() | function cancelUpgradeEntity() | ||||
{ | { | ||||
Engine.PostNetworkCommand({ | Engine.PostNetworkCommand({ | ||||
▲ Show 20 Lines • Show All 147 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator