C# Class Equipment, UnderworldExporter

Inheritance: MonoBehaviour
显示文件 Open project: hankmorgan/UnderworldExporter Class Usage Examples

Public Properties

Property Type Description
Durability int

Public Methods

Method Description
ActivateByObject ( GameObject ObjectUsed ) : bool

Activation of this object by another. EG key on door

GetActualSpellIndex ( ) : int
GetEquipmentConditionString ( ) : string

Gets the equipment condition.

LookAt ( ) : bool
OnSubmitPickup ( string ans ) : void

Event handler for processing the repair question y/n

UpdateQuality ( ) : void

Refreshes the quality of armour when damage is taken

use ( ) : bool

Method Details

ActivateByObject() public method

Activation of this object by another. EG key on door
public ActivateByObject ( GameObject ObjectUsed ) : bool
ObjectUsed GameObject Object used.
return bool

GetActualSpellIndex() public method

public GetActualSpellIndex ( ) : int
return int

GetEquipmentConditionString() public method

Gets the equipment condition.
public GetEquipmentConditionString ( ) : string
return string

LookAt() public method

public LookAt ( ) : bool
return bool

OnSubmitPickup() public method

Event handler for processing the repair question y/n
public OnSubmitPickup ( string ans ) : void
ans string Ans.
return void

UpdateQuality() public method

Refreshes the quality of armour when damage is taken
public UpdateQuality ( ) : void
return void

use() public method

public use ( ) : bool
return bool

Property Details

Durability public_oe property

public int Durability
return int