C# Class ChestControl.CPlayer

Inheritance: TShockAPI.TSPlayer
显示文件 Open project: Deathmax/Chest-Control Class Usage Examples

Public Properties

Property Type Description
PasswordForChest string

Protected Properties

Property Type Description
State SettingState
UnlockedChests List

Public Methods

Method Description
CPlayer ( int index ) : System.Collections.Generic
GetState ( ) : SettingState
HasAccessToChest ( int id ) : bool
SetState ( SettingState state ) : void
UnlockedChest ( int id ) : void

Method Details

CPlayer() public method

public CPlayer ( int index ) : System.Collections.Generic
index int
return System.Collections.Generic

GetState() public method

public GetState ( ) : SettingState
return SettingState

HasAccessToChest() public method

public HasAccessToChest ( int id ) : bool
id int
return bool

SetState() public method

public SetState ( SettingState state ) : void
state SettingState
return void

UnlockedChest() public method

public UnlockedChest ( int id ) : void
id int
return void

Property Details

PasswordForChest public_oe property

public string PasswordForChest
return string

State protected_oe property

protected SettingState State
return SettingState

UnlockedChests protected_oe property

protected List UnlockedChests
return List