Class ConsumeInventoryItemToolAction
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: NeoFPS.WieldableTools
Assembly: NeoFPS.dll
Syntax
public class ConsumeInventoryItemToolAction : BaseWieldableToolModule, IWieldableToolModule, INeoSerializableComponent
Properties
isValid
Declaration
public override bool isValid { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Overrides
timing
Declaration
public override WieldableToolActionTiming timing { get; }
Property Value
| Type | Description |
|---|---|
| WieldableToolActionTiming |
Overrides
Methods
FireEnd(Boolean)
Declaration
public override void FireEnd(bool success)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | success |
Overrides
FireStart()
Declaration
public override void FireStart()
Overrides
Interrupt()
Declaration
public override void Interrupt()
Overrides
OnDisable()
Declaration
protected void OnDisable()
OnEnable()
Declaration
protected void OnEnable()
OnValidate()
Declaration
protected void OnValidate()
ReadProperties(INeoDeserializer, NeoSerializedGameObject)
Declaration
public void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
Parameters
| Type | Name | Description |
|---|---|---|
| INeoDeserializer | reader | |
| NeoSerializedGameObject | nsgo |
Start()
Declaration
protected void Start()
TickContinuous()
Declaration
public override bool TickContinuous()
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)
Declaration
public void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
Parameters
| Type | Name | Description |
|---|---|---|
| INeoSerializer | writer | |
| NeoSerializedGameObject | nsgo | |
| SaveMode | saveMode |