⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class DemoFacilityGameMode

    Inheritance
    Object
    MonoBehaviour
    FpsGameMode
    FpsSoloGameBase
    FpsSoloGameCustomisable
    DemoFacilityGameMode
    Implements
    INeoSerializableComponent
    ISpawnZoneSelector
    ILoadoutBuilder
    Inherited Members
    FpsSoloGameCustomisable.spawnOnStart
    FpsSoloGameCustomisable.showPrespawnPopup
    FpsSoloGameCustomisable.PreSpawnStep()
    FpsSoloGameBase.deathSequenceDuration
    FpsSoloGameBase.player
    FpsSoloGameBase.OnValidate()
    FpsSoloGameBase.OnDestroy()
    FpsSoloGameBase.InstantiatePlayer()
    FpsSoloGameBase.playerCharacter
    FpsSoloGameBase.OnPlayerCharacterChanged(ICharacter)
    FpsSoloGameBase.OnPlayerCharacterIsAliveChanged(ICharacter, Boolean)
    FpsSoloGameBase.SkipDelayedDeathReaction()
    FpsSoloGameBase.DelayedDeathAction()
    FpsSoloGameBase.ProcessOldPlayerCharacter(ICharacter)
    FpsSoloGameBase.ProcessNewPlayerCharacter(ICharacter)
    FpsSoloGameBase.Spawn()
    FpsSoloGameBase.SpawnPlayerCharacter()
    FpsSoloGameBase.GetPersistentObjects()
    FpsSoloGameBase.SetPersistentObjects(NeoSerializedGameObject[])
    FpsGameMode.onInGameChanged
    FpsGameMode.current
    FpsGameMode.friendlyFire
    FpsGameMode.inGame
    FpsGameMode.Awake()
    FpsGameMode.OnInGameChanged(Boolean)
    FpsGameMode.GetFriendlyFire()
    FpsGameMode.Respawn(IController)
    FpsGameMode.SavePersistentData()
    FpsGameMode.GetPersistentObjectContainer()
    FpsGameMode.OnPersistentDataLoaded(Boolean)
    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.Samples.SinglePlayer
    Assembly: NeoFPS.dll
    Syntax
    public class DemoFacilityGameMode : FpsSoloGameCustomisable, INeoSerializableComponent, ISpawnZoneSelector, ILoadoutBuilder

    Properties

    currentSpawnZoneIndex

    Declaration
    public int currentSpawnZoneIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    mapSprite

    Declaration
    public Sprite mapSprite { get; }
    Property Value
    Type Description
    Sprite

    numLoadoutBuilderSlots

    Declaration
    public int numLoadoutBuilderSlots { get; }
    Property Value
    Type Description
    System.Int32

    numSpawnZones

    Declaration
    public int numSpawnZones { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    GetLoadout()

    Declaration
    public FpsInventoryLoadout GetLoadout()
    Returns
    Type Description
    FpsInventoryLoadout

    GetLoadoutBuilderSlotInfo(Int32)

    Declaration
    public ILoadoutBuilderSlot GetLoadoutBuilderSlotInfo(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    ILoadoutBuilderSlot

    GetPlayerCharacterPrototype(IController)

    Declaration
    protected override ICharacter GetPlayerCharacterPrototype(IController player)
    Parameters
    Type Name Description
    IController player
    Returns
    Type Description
    ICharacter
    Overrides
    FpsGameMode.GetPlayerCharacterPrototype(IController)

    GetPlayerControllerPrototype()

    Declaration
    protected override IController GetPlayerControllerPrototype()
    Returns
    Type Description
    IController
    Overrides
    FpsGameMode.GetPlayerControllerPrototype()

    GetSpawnZoneInfo(Int32)

    Declaration
    public ISpawnZoneInfo GetSpawnZoneInfo(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    ISpawnZoneInfo

    OnCharacterSpawned(ICharacter)

    Declaration
    protected override void OnCharacterSpawned(ICharacter character)
    Parameters
    Type Name Description
    ICharacter character
    Overrides
    FpsGameMode.OnCharacterSpawned(ICharacter)

    OnStart()

    Declaration
    protected override void OnStart()
    Overrides
    FpsSoloGameBase.OnStart()

    ReadProperties(INeoDeserializer, NeoSerializedGameObject)

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

    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
    FpsSoloGameBase.WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)

    Implements

    INeoSerializableComponent
    ISpawnZoneSelector
    ILoadoutBuilder
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX