Table of Contents

Class TNH_Manager

Namespace
FistVR
Assembly
Assembly-CSharp.dll
public class TNH_Manager : MonoBehaviour
Inheritance
TNH_Manager

Constructors

TNH_Manager()

public TNH_Manager()

Fields

AIManager

public AIManager AIManager

Field Value

AIManager

AIVoiceMode

public TNH_AIVoiceMode AIVoiceMode

Field Value

TNH_AIVoiceMode

AI_Difficulty

public TNHModifier_AIDifficulty AI_Difficulty

Field Value

TNHModifier_AIDifficulty

AreSPSGizmosEnabled

public bool AreSPSGizmosEnabled

Field Value

bool

BGAudioMode

public TNH_BGAudioMode BGAudioMode

Field Value

TNH_BGAudioMode

BackpackMode

public TNH_BackpackMode BackpackMode

Field Value

TNH_BackpackMode

C

public TNH_CharacterDef C

Field Value

TNH_CharacterDef

CharDB

public TNH_CharacterDatabase CharDB

Field Value

TNH_CharacterDatabase

DebugMode

public bool DebugMode

Field Value

bool

DicSafeHoldIndiciesForHoldPoint

public Dictionary<int, List<int>> DicSafeHoldIndiciesForHoldPoint

Field Value

Dictionary<int, List<int>>

DicSafeHoldIndiciesForSupplyPoint

public Dictionary<int, List<int>> DicSafeHoldIndiciesForSupplyPoint

Field Value

Dictionary<int, List<int>>

DicSafeSupplyIndiciesForHoldPoint

public Dictionary<int, List<int>> DicSafeSupplyIndiciesForHoldPoint

Field Value

Dictionary<int, List<int>>

DicSafeSupplyIndiciesForSupplyPoint

public Dictionary<int, List<int>> DicSafeSupplyIndiciesForSupplyPoint

Field Value

Dictionary<int, List<int>>

EquipPoolLocomotion

public EquipmentPoolDef EquipPoolLocomotion

Field Value

EquipmentPoolDef

EquipmentMode

public TNHSetting_EquipmentMode EquipmentMode

Field Value

TNHSetting_EquipmentMode

FMODController

public FVRFMODController FMODController

Field Value

FVRFMODController

FinalItemSpawnerPoint

public Transform FinalItemSpawnerPoint

Field Value

Transform

HealthMode

public TNHSetting_HealthMode HealthMode

Field Value

TNHSetting_HealthMode

HealthMult

public TNH_HealthMult HealthMult

Field Value

TNH_HealthMult

HoldPoints

public List<TNH_HoldPoint> HoldPoints

Field Value

List<TNH_HoldPoint>

IsBigLevel

public bool IsBigLevel

Field Value

bool

ItemSpawner

public GameObject ItemSpawner

Field Value

GameObject

ItemSpawnerMode

public TNH_ItemSpawnerMode ItemSpawnerMode

Field Value

TNH_ItemSpawnerMode

LevelName

public string LevelName

Field Value

string

Narrator_Corrupted

public AudioSource Narrator_Corrupted

Field Value

AudioSource

Narrator_Normal

public AudioSource Narrator_Normal

Field Value

AudioSource

Nums

public int[] Nums

Field Value

int[]

Phase

public TNH_Phase Phase

Field Value

TNH_Phase

PossibleSequnces

public List<TNH_PointSequence> PossibleSequnces

Field Value

List<TNH_PointSequence>

Prefab_AmmoReloader

public GameObject Prefab_AmmoReloader

Field Value

GameObject

Prefab_GunRecycler

public GameObject Prefab_GunRecycler

Field Value

GameObject

Prefab_HealthPickupMinor

public FVRObject Prefab_HealthPickupMinor

Field Value

FVRObject

Prefab_MagDuplicator

public GameObject Prefab_MagDuplicator

Field Value

GameObject

Prefab_MetalTable

public GameObject Prefab_MetalTable

Field Value

GameObject

Prefab_ObjectConstructor

public GameObject Prefab_ObjectConstructor

Field Value

GameObject

Prefab_SystemNode

public GameObject Prefab_SystemNode

Field Value

GameObject

Prefab_TargetWarpingIn

public GameObject Prefab_TargetWarpingIn

Field Value

GameObject

Prefab_WeaponCaseLarge

public GameObject Prefab_WeaponCaseLarge

Field Value

GameObject

Prefab_WeaponCaseSmall

public GameObject Prefab_WeaponCaseSmall

Field Value

GameObject

Prefabs_ShatterableCrates

public List<GameObject> Prefabs_ShatterableCrates

Field Value

List<GameObject>

ProgressionMode

public TNHSetting_ProgressionType ProgressionMode

Field Value

TNHSetting_ProgressionType

QueuedLines

public Queue<TNH_VoiceLineID> QueuedLines

Field Value

Queue<TNH_VoiceLineID>

RadarHand

public TNH_RadarHand RadarHand

Field Value

TNH_RadarHand

RadarMode

public TNHModifier_RadarMode RadarMode

Field Value

TNHModifier_RadarMode

RequireSightTable

public ObjectTableDef RequireSightTable

Field Value

ObjectTableDef

ResourceLib

public TNH_ResourceLib ResourceLib

Field Value

TNH_ResourceLib

ReticleMask_Hold

public LayerMask ReticleMask_Hold

Field Value

LayerMask

ReticleMask_Take

public LayerMask ReticleMask_Take

Field Value

LayerMask

SPS

public TNH_Manager.SentryPatrolSystem SPS

Field Value

TNH_Manager.SentryPatrolSystem

SafePosMatrix

public TNH_SafePositionMatrix SafePosMatrix

Field Value

TNH_SafePositionMatrix

ScoreDisplay

public TNH_ScoreDisplay ScoreDisplay

Field Value

TNH_ScoreDisplay

ScoreDisplayPoint

public Transform ScoreDisplayPoint

Field Value

Transform

ScoreDisplayPrefab

public GameObject ScoreDisplayPrefab

Field Value

GameObject

SosiggunShakeReloading

public TNH_SosiggunShakeReloading SosiggunShakeReloading

Field Value

TNH_SosiggunShakeReloading

Stats

public int[] Stats

Field Value

int[]

SupplyPoints

public List<TNH_SupplyPoint> SupplyPoints

Field Value

List<TNH_SupplyPoint>

TAHReticle

public TAH_Reticle TAHReticle

Field Value

TAH_Reticle

TargetMode

public TNHSetting_TargetMode TargetMode

Field Value

TNHSetting_TargetMode

UsesClassicPatrolBehavior

public bool UsesClassicPatrolBehavior

Field Value

bool

VoiceDB

public TNH_VoiceDatabase VoiceDB

Field Value

TNH_VoiceDatabase

Methods

AddFVRObjectToTrackedList(FVRPhysicalObject)

public void AddFVRObjectToTrackedList(FVRPhysicalObject g)

Parameters

g FVRPhysicalObject

AddObjectToTrackedList(GameObject)

public void AddObjectToTrackedList(GameObject g)

Parameters

g GameObject

AddToMiscEnemies(GameObject)

public void AddToMiscEnemies(GameObject g)

Parameters

g GameObject

AddTokens(int, bool)

public void AddTokens(int i, bool Scorethis)

Parameters

i int
Scorethis bool

CalculateClosestPoints()

public void CalculateClosestPoints()

CalculatePathsBetweenPoints()

public void CalculatePathsBetweenPoints()

ClearMiscEnemies()

public void ClearMiscEnemies()

DebugSPSConnections_Holds()

public void DebugSPSConnections_Holds()

EnqueueEncryptionLine(TNH_EncryptionType)

public void EnqueueEncryptionLine(TNH_EncryptionType t)

Parameters

t TNH_EncryptionType

EnqueueLine(TNH_VoiceLineID)

public void EnqueueLine(TNH_VoiceLineID id)

Parameters

id TNH_VoiceLineID

EnqueueTokenLine(int)

public void EnqueueTokenLine(int i)

Parameters

i int

FloatToTime(float, string)

public string FloatToTime(float toConvert, string format)

Parameters

toConvert float
format string

Returns

string

GetEncryptionPrefab(TNH_EncryptionType)

public FVRObject GetEncryptionPrefab(TNH_EncryptionType t)

Parameters

t TNH_EncryptionType

Returns

FVRObject

GetNumTokens()

public int GetNumTokens()

Returns

int

GetObjectTable(ObjectTableDef)

public ObjectTable GetObjectTable(ObjectTableDef d)

Parameters

d ObjectTableDef

Returns

ObjectTable

GetTrapPrefab(TNH_TrapType)

public FVRObject GetTrapPrefab(TNH_TrapType t)

Parameters

t TNH_TrapType

Returns

FVRObject

GetTurretPrefab(TNH_TurretType)

public FVRObject GetTurretPrefab(TNH_TurretType t)

Parameters

t TNH_TurretType

Returns

FVRObject

HoldPointCompleted(TNH_HoldPoint, bool)

public void HoldPointCompleted(TNH_HoldPoint p, bool success)

Parameters

p TNH_HoldPoint
success bool

HoldPointStarted(TNH_HoldPoint)

public void HoldPointStarted(TNH_HoldPoint p)

Parameters

p TNH_HoldPoint

Increment(int, bool)

public void Increment(int i, bool statOnly)

Parameters

i int
statOnly bool

Increment(int, int, bool)

public void Increment(int i, int amount, bool statOnly)

Parameters

i int
amount int
statOnly bool

OnTokenCountChange(int)

public void OnTokenCountChange(int numTokens)

Parameters

numTokens int

PlayerDied()

public void PlayerDied()

PrintSPSContent()

public void PrintSPSContent()

RegenerateConstructor(TNH_ObjectConstructor, int)

public void RegenerateConstructor(TNH_ObjectConstructor ObjectConstructor, int which)

Parameters

ObjectConstructor TNH_ObjectConstructor
which int

ReturnNum()

public int ReturnNum()

Returns

int

SetHoldWaveIntensity(int)

public void SetHoldWaveIntensity(int intensity)

Parameters

intensity int

SpawnAmmoReloader(Transform)

public GameObject SpawnAmmoReloader(Transform point)

Parameters

point Transform

Returns

GameObject

SpawnEnemy(SosigEnemyTemplate, Vector3, Quaternion, int, bool, Vector3, bool)

public Sosig SpawnEnemy(SosigEnemyTemplate t, Vector3 pos, Quaternion rot, int IFF, bool IsAssault, Vector3 pointOfInterest, bool AllowAllWeapons)

Parameters

t SosigEnemyTemplate
pos Vector3
rot Quaternion
IFF int
IsAssault bool
pointOfInterest Vector3
AllowAllWeapons bool

Returns

Sosig

SpawnGunRecycler(Transform)

public GameObject SpawnGunRecycler(Transform point)

Parameters

point Transform

Returns

GameObject

SpawnMagDuplicator(Transform)

public GameObject SpawnMagDuplicator(Transform point)

Parameters

point Transform

Returns

GameObject

SpawnObjectConstructor(Transform)

public GameObject SpawnObjectConstructor(Transform point)

Parameters

point Transform

Returns

GameObject

SpawnWeaponCase(GameObject, Vector3, Vector3, FVRObject, int, int, int, int, FVRObject)

public GameObject SpawnWeaponCase(GameObject caseFab, Vector3 position, Vector3 forward, FVRObject weapon, int numMag, int numRound, int minAmmo, int maxAmmo, FVRObject ammoObjOverride = null)

Parameters

caseFab GameObject
position Vector3
forward Vector3
weapon FVRObject
numMag int
numRound int
minAmmo int
maxAmmo int
ammoObjOverride FVRObject

Returns

GameObject

SubtractTokens(int)

public void SubtractTokens(int i)

Parameters

i int

Update()

public void Update()

Events

TokenCountChangeEvent

public event TNH_Manager.TokenCountChange TokenCountChangeEvent

Event Type

TNH_Manager.TokenCountChange