C# Class WarTornLands.PlayerClasses.Items.HammerStash

Datei anzeigen Open project: floAr/WarTornLands Class Usage Examples

Public Properties

Property Type Description
Use EventHandler

Public Methods

Method Description
Add ( Hammer hammer ) : void
HammerStash ( WarTornLands swing ) : System
Remove ( Hammer hammer ) : bool

Removes the specified hammer. In case the removed hammer was equipped, the next best hammer is equipped (quality ascending: none-normal-pick-chain). Returns false if the hammer was not in possession.

SetChain ( ) : bool
SetNone ( ) : bool
SetNormal ( ) : bool
SetPick ( ) : bool

Private Methods

Method Description
OnUse ( object sender, EventArgs e ) : void

Method Details

Add() public method

public Add ( Hammer hammer ) : void
hammer Hammer
return void

HammerStash() public method

public HammerStash ( WarTornLands swing ) : System
swing WarTornLands
return System

Remove() public method

Removes the specified hammer. In case the removed hammer was equipped, the next best hammer is equipped (quality ascending: none-normal-pick-chain). Returns false if the hammer was not in possession.
public Remove ( Hammer hammer ) : bool
hammer Hammer The hammer.
return bool

SetChain() public method

public SetChain ( ) : bool
return bool

SetNone() public method

public SetNone ( ) : bool
return bool

SetNormal() public method

public SetNormal ( ) : bool
return bool

SetPick() public method

public SetPick ( ) : bool
return bool

Property Details

Use public_oe property

public EventHandler Use
return EventHandler