⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class FpsSoloGameBase

    Inheritance
    Object
    MonoBehaviour
    FpsGameMode
    FpsSoloGameBase
    FpsSoloGameCustomisable
    FpsSoloGameMinimal
    Implements
    INeoSerializableComponent
    Inherited Members
    FpsGameMode.onInGameChanged
    FpsGameMode.current
    FpsGameMode.friendlyFire
    FpsGameMode.inGame
    FpsGameMode.Awake()
    FpsGameMode.OnInGameChanged(Boolean)
    FpsGameMode.GetFriendlyFire()
    FpsGameMode.Respawn(IController)
    FpsGameMode.GetPlayerControllerPrototype()
    FpsGameMode.GetPlayerCharacterPrototype(IController)
    FpsGameMode.OnCharacterSpawned(ICharacter)
    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.SinglePlayer
    Assembly: NeoFPS.dll
    Syntax
    public abstract class FpsSoloGameBase : FpsGameMode, INeoSerializableComponent

    Properties

    deathSequenceDuration

    Declaration
    public float deathSequenceDuration { get; }
    Property Value
    Type Description
    System.Single

    player

    Declaration
    public IController player { get; protected set; }
    Property Value
    Type Description
    IController

    playerCharacter

    Declaration
    public ICharacter playerCharacter { get; }
    Property Value
    Type Description
    ICharacter

    spawnOnStart

    Declaration
    public abstract bool spawnOnStart { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    DelayedDeathAction()

    Declaration
    protected virtual void DelayedDeathAction()

    GetPersistentObjects()

    Declaration
    protected override NeoSerializedGameObject[] GetPersistentObjects()
    Returns
    Type Description
    NeoSerializedGameObject[]
    Overrides
    FpsGameMode.GetPersistentObjects()

    InstantiatePlayer()

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

    OnDestroy()

    Declaration
    protected override void OnDestroy()
    Overrides
    FpsGameMode.OnDestroy()

    OnPlayerCharacterChanged(ICharacter)

    Declaration
    protected virtual void OnPlayerCharacterChanged(ICharacter character)
    Parameters
    Type Name Description
    ICharacter character

    OnPlayerCharacterIsAliveChanged(ICharacter, Boolean)

    Declaration
    protected virtual void OnPlayerCharacterIsAliveChanged(ICharacter character, bool alive)
    Parameters
    Type Name Description
    ICharacter character
    System.Boolean alive

    OnStart()

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

    OnValidate()

    Declaration
    protected void OnValidate()

    PreSpawnStep()

    Declaration
    protected virtual bool PreSpawnStep()
    Returns
    Type Description
    System.Boolean

    ProcessNewPlayerCharacter(ICharacter)

    Declaration
    protected virtual void ProcessNewPlayerCharacter(ICharacter newCharacter)
    Parameters
    Type Name Description
    ICharacter newCharacter

    ProcessOldPlayerCharacter(ICharacter)

    Declaration
    protected virtual void ProcessOldPlayerCharacter(ICharacter oldCharacter)
    Parameters
    Type Name Description
    ICharacter oldCharacter

    ReadProperties(INeoDeserializer, NeoSerializedGameObject)

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

    SetPersistentObjects(NeoSerializedGameObject[])

    Declaration
    protected override void SetPersistentObjects(NeoSerializedGameObject[] objects)
    Parameters
    Type Name Description
    NeoSerializedGameObject[] objects
    Overrides
    FpsGameMode.SetPersistentObjects(NeoSerializedGameObject[])

    SkipDelayedDeathReaction()

    Declaration
    protected virtual bool SkipDelayedDeathReaction()
    Returns
    Type Description
    System.Boolean

    Spawn()

    Declaration
    public void Spawn()

    SpawnPlayerCharacter()

    Declaration
    protected void SpawnPlayerCharacter()

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

    Implements

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