Class MF_TeamManager
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class MF_TeamManager : MonoBehaviour
- Inheritance
-
MF_TeamManager
Constructors
MF_TeamManager()
Fields
BlueTeam
Field Value
- MF_Team
EnemyTemplatesByClassIndex_Blue
public List<SosigEnemyTemplate> EnemyTemplatesByClassIndex_Blue
Field Value
- List<SosigEnemyTemplate>
EnemyTemplatesByClassIndex_Red
public List<SosigEnemyTemplate> EnemyTemplatesByClassIndex_Red
Field Value
- List<SosigEnemyTemplate>
IFF_Blue
Field Value
- int
IFF_Red
Field Value
- int
PlayerRespawnZone
public MF_Zone PlayerRespawnZone
Field Value
- MF_Zone
Prefab_CapturePoint
public GameObject Prefab_CapturePoint
Field Value
- GameObject
RedTeam
Field Value
- MF_Team
SquadDefs
public List<MF_SquadDefinition> SquadDefs
Field Value
- List<MF_SquadDefinition>
UberMats
public Material[] UberMats
Field Value
- Material[]
ZoneModeConfigs
public List<MF_ZoneModeConfig> ZoneModeConfigs
Field Value
- List<MF_ZoneModeConfig>
Methods
GetMode()
public MF_GameMode GetMode()
Returns
- MF_GameMode
InitGameMode(MF_GameMode, int, int, MF_TeamColor, float, float, MF_PlayArea)
public void InitGameMode(MF_GameMode mode, int RedTeamSize, int BlueTeamSize, MF_TeamColor playerTeam, float RedTeamSpawnCadence, float BlueTeamSpawnCadence, MF_PlayArea playArea)
Parameters
mode
MF_GameMode
RedTeamSize
int
BlueTeamSize
int
playerTeam
MF_TeamColor
RedTeamSpawnCadence
float
BlueTeamSpawnCadence
float
playArea
MF_PlayArea
RearmSosig(Sosig, MF_Class)
public void RearmSosig(Sosig s, MF_Class c)
Parameters
s
Sosig
c
MF_Class
public Sosig SpawnEnemy(SosigEnemyTemplate t, Transform point, int IFF, bool IsAssault, Vector3 pointOfInterest, bool AllowSecondary, MF_TeamColor teamcolor)
Parameters
t
SosigEnemyTemplate
point
Transform
IFF
int
IsAssault
bool
pointOfInterest
Vector3
AllowSecondary
bool
teamcolor
MF_TeamColor
Returns
- Sosig
Update()