Class Startup
Assembly: cs.temp.dll.dll
Syntax
public abstract class Startup : MonoBehaviour, IStartup
Properties
ActionService
Declaration
protected virtual IActionService ActionService { get; }
Property Value
| Type |
Description |
| IActionService |
|
Context
Declaration
protected abstract IContext Context { get; }
Property Value
| Type |
Description |
| IContext |
|
Loader
Declaration
public virtual ILoader Loader { get; protected set; }
Property Value
MainGameContentId
Declaration
public abstract string MainGameContentId { get; }
Property Value
UserSavedData
Declaration
protected virtual IUserSavedData UserSavedData { get; }
Property Value
Methods
GetAuxiliaryLoadPhases()
Declaration
protected abstract ILoadPhase[] GetAuxiliaryLoadPhases()
Returns
| Type |
Description |
| ILoadPhase[] |
|
GetLoadContentDataLoadPhase()
Declaration
protected abstract ILoadPhase GetLoadContentDataLoadPhase()
Returns
| Type |
Description |
| ILoadPhase |
|
GetLoadGlobalDataLoadPhase()
Declaration
protected abstract ILoadPhase GetLoadGlobalDataLoadPhase()
Returns
| Type |
Description |
| ILoadPhase |
|
GetRemoveContentDataLoadPhase()
Declaration
protected abstract ILoadPhase GetRemoveContentDataLoadPhase()
Returns
| Type |
Description |
| ILoadPhase |
|
GetRemoveGlobalDataLoadPhase()
Declaration
protected abstract ILoadPhase GetRemoveGlobalDataLoadPhase()
Returns
| Type |
Description |
| ILoadPhase |
|
GetServiceTypes()
Declaration
protected virtual Type[] GetServiceTypes()
Returns
OnCleanupComplete()
Declaration
protected virtual void OnCleanupComplete()
OnLoadPhaseComplete(ILoadPhase)
Declaration
protected virtual void OnLoadPhaseComplete(ILoadPhase loadPhase)
Parameters
| Type |
Name |
Description |
| ILoadPhase |
loadPhase |
|
ResetGame(Boolean)
Declaration
public virtual void ResetGame(bool resetUser = false)
Parameters
| Type |
Name |
Description |
| Boolean |
resetUser |
|
ResetLoader()
Declaration
protected virtual void ResetLoader()
SetCleanupLoadPhases(Boolean)
Declaration
protected virtual void SetCleanupLoadPhases(bool resetUser = false)
Parameters
| Type |
Name |
Description |
| Boolean |
resetUser |
|
SetClearContentLoadPhases(Boolean)
Declaration
protected virtual void SetClearContentLoadPhases(bool resetContentId = true)
Parameters
| Type |
Name |
Description |
| Boolean |
resetContentId |
|
SetInitializationLoadPhases()
These ILoadPhase objects will run once and initialize the game
Declaration
protected virtual void SetInitializationLoadPhases()
SetLoadContentLoadPhases(String)
Declaration
protected virtual void SetLoadContentLoadPhases(string contentId = null)
Parameters
| Type |
Name |
Description |
| String |
contentId |
|
SetSwitchStageLoadPhases()
Declaration
protected virtual void SetSwitchStageLoadPhases()
StartGame()
Declaration
public virtual void StartGame()
SwitchContent(String)
If switching to an Event, the IdleKit.Core.IEventSettings.Id should be passed here.
Declaration
public virtual void SwitchContent(string contentId)
Parameters
| Type |
Name |
Description |
| String |
contentId |
|
SwitchStage()
Declaration
public virtual void SwitchStage()
Implements