Interface IGameManager
Assembly: cs.temp.dll.dll
Syntax
public interface IGameManager : IMonoBehaviour, IServicePublisher<IPreRunGameService>, IServicePublisher<IPostRunGameService>
Properties
ActiveFactionCount
Declaration
int ActiveFactionCount { get; }
Property Value
ActiveFactionSlots
Declaration
IReadOnlyList<IFactionSlot> ActiveFactionSlots { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyList<IFactionSlot> |
|
ClearDefaultEntities
Declaration
bool ClearDefaultEntities { get; }
Property Value
CurrBuilder
Declaration
IGameBuilder CurrBuilder { get; }
Property Value
DefeatCondition
Declaration
DefeatConditionType DefeatCondition { get; }
Property Value
FactionCount
Declaration
int FactionCount { get; }
Property Value
FactionSlots
Declaration
IReadOnlyList<IFactionSlot> FactionSlots { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyList<IFactionSlot> |
|
GameCode
Declaration
Property Value
InPeaceTime
Declaration
bool InPeaceTime { get; }
Property Value
LocalFactionSlot
Declaration
IFactionSlot LocalFactionSlot { get; }
Property Value
Type |
Description |
IFactionSlot |
|
LocalFactionSlotID
Declaration
int LocalFactionSlotID { get; }
Property Value
PeaceTimer
Declaration
TimeModifiedTimer PeaceTimer { get; }
Property Value
Type |
Description |
TimeModifiedTimer |
|
State
Declaration
GameStateType State { get; }
Property Value
Methods
GetFactionSlot(Int32)
Declaration
IFactionSlot GetFactionSlot(int ID)
Parameters
Type |
Name |
Description |
Int32 |
ID |
|
Returns
Type |
Description |
IFactionSlot |
|
LeaveGame()
Declaration
OnFactionDefeated(Int32)
Declaration
ErrorMessage OnFactionDefeated(int factionID)
Parameters
Type |
Name |
Description |
Int32 |
factionID |
|
Returns
OnFactionDefeatedLocal(Int32)
Declaration
ErrorMessage OnFactionDefeatedLocal(int factionID)
Parameters
Type |
Name |
Description |
Int32 |
factionID |
|
Returns
SetPeaceTime(Single)
Declaration
void SetPeaceTime(float time)
Parameters
Type |
Name |
Description |
System.Single |
time |
|
SetState(GameStateType)
Declaration
void SetState(GameStateType newState)
Parameters
Events
GameBuilt
Declaration
event CustomEventHandler<IGameManager, EventArgs> GameBuilt
Event Type
Type |
Description |
CustomEventHandler<IGameManager, System.EventArgs> |
|
GamePostBuilt
Declaration
event CustomEventHandler<IGameManager, EventArgs> GamePostBuilt
Event Type
Type |
Description |
CustomEventHandler<IGameManager, System.EventArgs> |
|
GameServicesInitialized
Declaration
event CustomEventHandler<IGameManager, EventArgs> GameServicesInitialized
Event Type
Type |
Description |
CustomEventHandler<IGameManager, System.EventArgs> |
|
GameStartRunning
Declaration
event CustomEventHandler<IGameManager, EventArgs> GameStartRunning
Event Type
Type |
Description |
CustomEventHandler<IGameManager, System.EventArgs> |
|