Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetStashPurchasingDisabled: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Dota_Lebot push: Updated Page)
 
(Dota_Lebot push: Updated Page)
Line 6: Line 6:




''' void SetStashPurchasingDisabled(bool ''bool_1'') '''
''' void SetStashPurchasingDisabled(bool ''bDisabled'') '''


''CDOTABaseGameMode:SetStashPurchasingDisabled''
''Turn purchasing items to the stash off/on. If purchasing to the stash is off the player must be at a shop to purchase items.''




Line 14: Line 14:
;Example
;Example
<source lang="lua">
<source lang="lua">
function CDOTABaseGameMode:SetStashPurchasingDisabled( bool_1 ) end
function CDOTABaseGameMode:SetStashPurchasingDisabled( bDisabled ) end
</source>
</source>
== Parameters ==
== Parameters ==
Line 23: Line 23:
|-
|-
| bool
| bool
| bool_1
| bDisabled
| No Description Set
| No Description Set
|}
|}

Revision as of 23:17, 18 June 2015

Note.pngNote: This page is automatically generated. Any changes may be overwritten

Function Description

void SetStashPurchasingDisabled(bool bDisabled)

Turn purchasing items to the stash off/on. If purchasing to the stash is off the player must be at a shop to purchase items.


Example
function CDOTABaseGameMode:SetStashPurchasingDisabled( bDisabled ) end

Parameters

Type Name Description
bool bDisabled No Description Set