◆ ActionUnplugThisByCord()
◆ ActionCondition()
33 {
35
37 {
38 string selection =
targetItem.GetActionComponentName(
target.GetComponentIndex());
39
41 return true;
42
43
44 if (selection == Spotlight.SEL_CORD_PLUGGED_U)
45 return true;
46 }
47
48 return false;
49 }
Definition ComponentEnergyManager.c:19
static const string SEL_CORD_PLUGGED
Definition ComponentEnergyManager.c:65
Definition InventoryItem.c:731
Перекрестные ссылки ComponentEnergyManager::SEL_CORD_PLUGGED.
◆ DisplayTargetInActionText()
14 {
15 return true;
16 }
◆ GetTargetName()
19 {
22 {
23 string selection =
targetItem.GetActionComponentName(
target.GetComponentIndex());
24
26 return targetItem.GetCompEM().GetPlugOwner(selection).GetDisplayName();
27 }
28
30 }
◆ HasProgress()
9 {
10 return false;
11 }
◆ OnExecuteServer()
52 {
55
57 {
58 targetItem.HideSelection(Spotlight.SEL_CORD_PLUGGED_U);
59 targetItem.ShowSelection(Spotlight.SEL_CORD_FOLDED_U);
60 }
61 }
Объявления и описания членов класса находятся в файле: