Class TNH_ObjectConstructor
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class TNH_ObjectConstructor : MonoBehaviour
- Inheritance
-
TNH_ObjectConstructor
Constructors
TNH_ObjectConstructor()
public TNH_ObjectConstructor()
Fields
AudEvent_Back
public AudioEvent AudEvent_Back
Field Value
- AudioEvent
AudEvent_Fail
public AudioEvent AudEvent_Fail
Field Value
- AudioEvent
AudEvent_Select
public AudioEvent AudEvent_Select
Field Value
- AudioEvent
AudEvent_Spawn
public AudioEvent AudEvent_Spawn
Field Value
- AudioEvent
Icons
public List<TNH_ObjectConstructorIcon> Icons
Field Value
- List<TNH_ObjectConstructorIcon>
M
Field Value
- TNH_Manager
public List<GameObject> RerollButtonImages
Field Value
- List<GameObject>
public List<GameObject> RerollButtons
Field Value
- List<GameObject>
SpawnPoint_Ammo
public Transform SpawnPoint_Ammo
Field Value
- Transform
SpawnPoint_Case
public Transform SpawnPoint_Case
Field Value
- Transform
SpawnPoint_Grenade
public Transform SpawnPoint_Grenade
Field Value
- Transform
SpawnPoint_Mag
public Transform SpawnPoint_Mag
Field Value
- Transform
SpawnPoint_Melee
public Transform SpawnPoint_Melee
Field Value
- Transform
SpawnPoint_Object
public Transform SpawnPoint_Object
Field Value
- Transform
SpawnPoint_Shield
public Transform SpawnPoint_Shield
Field Value
- Transform
SpawnPoints_GunsSize
public List<Transform> SpawnPoints_GunsSize
Field Value
- List<Transform>
State
public TNH_ObjectConstructor.ConstructorState State
Field Value
- TNH_ObjectConstructor.ConstructorState
TokenList
public List<Image> TokenList
Field Value
- List<Image>
Token_Empty
Field Value
- Color
Token_Selected
public Color Token_Selected
Field Value
- Color
Token_Unselected
public Color Token_Unselected
Field Value
- Color
Methods
public void ButtonClicked(int i)
Parameters
i
int
public void ButtonClicked_Reroll(int which)
Parameters
which
int
ClearCase()
GetPoolEntry(int, EquipmentPoolDef, PoolEntryType, PoolEntry)
public EquipmentPoolDef.PoolEntry GetPoolEntry(int level, EquipmentPoolDef poolDef, EquipmentPoolDef.PoolEntry.PoolEntryType t, EquipmentPoolDef.PoolEntry prior = null)
Parameters
level
int
poolDef
EquipmentPoolDef
t
EquipmentPoolDef.PoolEntry.PoolEntryType
prior
EquipmentPoolDef.PoolEntry
Returns
- EquipmentPoolDef.PoolEntry
ResetEntry(int, EquipmentPoolDef, PoolEntryType, int)
public void ResetEntry(int m_level, EquipmentPoolDef pool, EquipmentPoolDef.PoolEntry.PoolEntryType pType, int index)
Parameters
m_level
int
pool
EquipmentPoolDef
pType
EquipmentPoolDef.PoolEntry.PoolEntryType
index
int
SetEntries(TNH_Manager, int, EquipmentPoolDef, PoolEntry, PoolEntry, PoolEntry, PoolEntry, PoolEntry)
public void SetEntries(TNH_Manager m, int m_level, EquipmentPoolDef pool, EquipmentPoolDef.PoolEntry pool1, EquipmentPoolDef.PoolEntry pool2, EquipmentPoolDef.PoolEntry pool3, EquipmentPoolDef.PoolEntry pool4, EquipmentPoolDef.PoolEntry pool5)
Parameters
m
TNH_Manager
m_level
int
pool
EquipmentPoolDef
pool1
EquipmentPoolDef.PoolEntry
pool2
EquipmentPoolDef.PoolEntry
pool3
EquipmentPoolDef.PoolEntry
pool4
EquipmentPoolDef.PoolEntry
pool5
EquipmentPoolDef.PoolEntry
SetRequiredPicatinnySightTable(ObjectTableDef)
public void SetRequiredPicatinnySightTable(ObjectTableDef def)
Parameters
def
ObjectTableDef
public void SetValidErasSets(List<FVRObject.OTagEra> eras, List<FVRObject.OTagSet> sets)
Parameters
eras
List<FVRObject.OTagEra>
sets
List<FVRObject.OTagSet>