Class WeaponItem
Inheritance
System.Object
WeaponItem
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Eco.Gameplay.Items
Assembly: Eco.Gameplay.dll
Syntax
public abstract class WeaponItem : ToolItem, IItem, ILinkableParameterized<LinkConfig>, ILinkable, IHasIcon, INotifyPropertyChanged, IInteractor, IHasInteractions, IPlaceableItem, IController, IViewController, IHasUniversalID
Constructors
WeaponItem()
Declaration
protected WeaponItem()
Fields
WeaponDamageUpdateEvent
Declaration
public static ThreadSafeAction<User> WeaponDamageUpdateEvent
Field Value
| Type | Description |
|---|---|
| ThreadSafeAction<User> |
Properties
Damage
Declaration
public abstract override IDynamicValue Damage { get; }
Property Value
| Type | Description |
|---|---|
| IDynamicValue |
Overrides
Methods
Hit(Player, Int32)
Declaration
public void Hit(Player player, int targetID)
Parameters
| Type | Name | Description |
|---|---|---|
| Player | player | |
| System.Int32 | targetID |
Implements
System.ComponentModel.INotifyPropertyChanged