Class HudInventory
Inheritance
HudInventory
Implements
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
Assembly: NeoFPS.dll
Syntax
public abstract class HudInventory : PlayerCharacterHudBase, IPlayerCharacterSubscriber
Properties
inventory
Declaration
protected FpsInventoryBase inventory { get; }
Property Value
| Type | Description |
|---|---|
| FpsInventoryBase |
persistent
Declaration
protected bool persistent { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
visibility
Declaration
public float visibility { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Methods
Awake()
Declaration
protected override void Awake()
Overrides
ClearContents()
Declaration
protected abstract void ClearContents()
InitialiseSlots()
Declaration
protected abstract bool InitialiseSlots()
Returns
| Type | Description |
|---|---|
| System.Boolean |
OnDestroy()
Declaration
protected override void OnDestroy()
Overrides
OnPlayerCharacterChanged(ICharacter)
Declaration
public override void OnPlayerCharacterChanged(ICharacter character)
Parameters
| Type | Name | Description |
|---|---|---|
| ICharacter | character |
Overrides
OnSelectSlot(Int32)
Declaration
protected virtual void OnSelectSlot(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index |
OnValidate()
Declaration
protected virtual void OnValidate()
SetSlotItem(Int32, IQuickSlotItem)
Declaration
protected abstract void SetSlotItem(int slot, IQuickSlotItem item)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | slot | |
| IQuickSlotItem | item |
TriggerTimeout()
Declaration
protected virtual void TriggerTimeout()