Class FpsSoloGameBase
Inheritance
FpsSoloGameBase
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()
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
playerCharacter
Declaration
public ICharacter playerCharacter { get; }
Property Value
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
Overrides
InstantiatePlayer()
Declaration
protected override IController InstantiatePlayer()
Returns
Overrides
OnDestroy()
Declaration
protected override void OnDestroy()
Overrides
OnPlayerCharacterChanged(ICharacter)
Declaration
protected virtual void OnPlayerCharacterChanged(ICharacter character)
Parameters
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
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
ProcessOldPlayerCharacter(ICharacter)
Declaration
protected virtual void ProcessOldPlayerCharacter(ICharacter oldCharacter)
Parameters
ReadProperties(INeoDeserializer, NeoSerializedGameObject)
Declaration
public override void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
Parameters
Overrides
SetPersistentObjects(NeoSerializedGameObject[])
Declaration
protected override void SetPersistentObjects(NeoSerializedGameObject[] objects)
Parameters
Overrides
SkipDelayedDeathReaction()
Declaration
protected virtual bool SkipDelayedDeathReaction()
Returns
| Type |
Description |
| System.Boolean |
|
Spawn()
Declaration
SpawnPlayerCharacter()
Declaration
protected void SpawnPlayerCharacter()
WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)
Declaration
public override void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
Parameters
Overrides
Implements