-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathBuyMenuGUI.html
More file actions
28 lines (28 loc) · 1.95 KB
/
BuyMenuGUI.html
File metadata and controls
28 lines (28 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<h2>Generic Class:</h2><h1>BuyMenuGUI</h1><h3>
A full menu system that represents a purchasing GUI for Cortex Command</h3><p>Has no parent class.</p><br/><h3>Function:</h3><h2>SetMetaPlayer</h2><p>
Sets which MetaPlayer uses this menu, if any.</p><p><strong>Arguments:</strong><br />
The index of the MetaPlayer that uses this menu.</p><p><strong>Return value:</strong><br />
None.<br />
</p><br/><h3>Function:</h3><h2>SetNativeTechModule</h2><p>
Sets which DataModule ID should be treated as the native tech of the user of this menu.</p><p><strong>Arguments:</strong><br />
The module ID to set as the native one. 0 means everything is native.</p><p><strong>Return value:</strong><br />
None.<br />
</p><br/><h3>Function:</h3><h2>SetForeignCostMultiplier</h2><p>
Sets the multiplier of the cost of any foreign Tech items.</p><p><strong>Arguments:</strong><br />
The scalar multiplier of the costs of foreign Tech items.</p><p><strong>Return value:</strong><br />
None.<br />
</p><br/><h3>Function:</h3><h2>SetModuleExpanded</h2><p>
Sets whether a data module shown in the item menu should be expanded or not.</p><p><strong>Arguments:</strong><br />
The module ID to set as expanded.<br />
Whether should be expanded or not.</p><p><strong>Return value:</strong><br />
None.<br />
</p><br/><h3>Function:</h3><h2>LoadAllLoadoutsFromFile</h2><p>
Loads or re-loads all the loadout presets from the appropriate files on disk. This will first clear out all current loadout presets!</p><p><strong>Arguments:</strong><br />
None.</p><p><strong>Return value:</strong><br />
Success or not.<br />
</p><br/><h3>Property:</h3><h2>EnforceMaxPassengersConstraint</h2><p>
Tells whether passenger count constraints are enforced by this buy menu.
True if passenger constraints are enforced by this menu, false otherwise
</p><br/><h3>Property:</h3><h2>EnforceMaxMassConstraint</h2><p>
Sets whether mass constraints are enforced by this buy menu.
True if mass constraints are enforced by this menu, false otherwise</p>