⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class KeyRing

    Inheritance
    Object
    MonoBehaviour
    FpsInventoryItemBase
    KeyRing
    Implements
    IInventoryItem
    INeoSerializableComponent
    IKeyRing
    Inherited Members
    FpsInventoryItemBase.onOwnerChange
    FpsInventoryItemBase.OnValidate()
    FpsInventoryItemBase.onAddToInventory
    FpsInventoryItemBase.onRemoveFromInventory
    FpsInventoryItemBase.onQuantityChange
    FpsInventoryItemBase.fpsInventory
    FpsInventoryItemBase.neoSerializedGameObject
    FpsInventoryItemBase.Awake()
    FpsInventoryItemBase.owner
    FpsInventoryItemBase.OnRemoveFromInventory()
    FpsInventoryItemBase.inventory
    FpsInventoryItemBase.quantity
    FpsInventoryItemBase.OnZeroQuantity()
    FpsInventoryItemBase.maxQuantity
    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 class KeyRing : FpsInventoryItemBase, IInventoryItem, INeoSerializableComponent, IKeyRing

    Properties

    itemIdentifier

    Declaration
    public override int itemIdentifier { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    FpsInventoryItemBase.itemIdentifier

    Methods

    AddKey(String)

    Declaration
    public void AddKey(string id)
    Parameters
    Type Name Description
    System.String id

    ContainsKey(String)

    Declaration
    public bool ContainsKey(string id)
    Parameters
    Type Name Description
    System.String id
    Returns
    Type Description
    System.Boolean

    GetKeys()

    Declaration
    public string[] GetKeys()
    Returns
    Type Description
    System.String[]

    Merge(IKeyRing)

    Declaration
    public void Merge(IKeyRing other)
    Parameters
    Type Name Description
    IKeyRing other

    OnAddToInventory(IInventory, InventoryAddResult)

    Declaration
    public override void OnAddToInventory(IInventory i, InventoryAddResult addResult)
    Parameters
    Type Name Description
    IInventory i
    InventoryAddResult addResult
    Overrides
    FpsInventoryItemBase.OnAddToInventory(IInventory, InventoryAddResult)

    ReadProperties(INeoDeserializer, NeoSerializedGameObject)

    Declaration
    public override void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
    Parameters
    Type Name Description
    INeoDeserializer reader
    NeoSerializedGameObject nsgo
    Overrides
    FpsInventoryItemBase.ReadProperties(INeoDeserializer, NeoSerializedGameObject)

    RemoveKey(String)

    Declaration
    public void RemoveKey(string id)
    Parameters
    Type Name Description
    System.String id

    WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)

    Declaration
    public override void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
    Parameters
    Type Name Description
    INeoSerializer writer
    NeoSerializedGameObject nsgo
    SaveMode saveMode
    Overrides
    FpsInventoryItemBase.WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)

    Implements

    IInventoryItem
    INeoSerializableComponent
    IKeyRing
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX