Show / Hide Table of Contents

Interface IGamePlayData

Namespace: MacacaGames.GameSystem
Assembly: Macaca.GameSystem.dll
Syntax
public interface IGamePlayData

Properties

| Improve this Doc View Source

applicationController

Declaration
ApplicationController applicationController { get; set; }
Property Value
Type Description
ApplicationController
| Improve this Doc View Source

gamePlayController

Declaration
GamePlayController gamePlayController { get; set; }
Property Value
Type Description
GamePlayController
| Improve this Doc View Source

IsContinueAvailable

To verify is the game play available to continue

Declaration
bool IsContinueAvailable { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

GamePlay()

Main logic of the game

Declaration
IEnumerator GamePlay()
Returns
Type Description
System.Collections.IEnumerator
| Improve this Doc View Source

GameResult()

Only work during play died or clear, not on quit

Declaration
IEnumerator GameResult()
Returns
Type Description
System.Collections.IEnumerator
| Improve this Doc View Source

Init()

Same as ApplicationController Init.

Declaration
void Init()
| Improve this Doc View Source

OnContinue()

While the result in OnContinueFlow is true, do anything require to continue the gameplay on this callback.

Declaration
void OnContinue()
| Improve this Doc View Source

OnContinueFlow(IReturn<Boolean>)

Implement the continue progress here and set result in result

Declaration
IEnumerator OnContinueFlow(IReturn<bool> result)
Parameters
Type Name Description
Rayark.Mast.IReturn<System.Boolean> result

the reture value for the continue progress

Returns
Type Description
System.Collections.IEnumerator
| Improve this Doc View Source

OnEnterGame()

Excude before gameplay realy start

Declaration
IEnumerator OnEnterGame()
Returns
Type Description
System.Collections.IEnumerator
| Improve this Doc View Source

OnEnterLobby()

Same as ApplicationController OnApplicationBeforeGamePlay.

Declaration
void OnEnterLobby()
| Improve this Doc View Source

OnGameEnd()

Game total end, no mater is died, clear or quit.

Declaration
void OnGameEnd()
| Improve this Doc View Source

OnGameFaild()

Game Failed.

Declaration
void OnGameFaild()
| Improve this Doc View Source

OnGameLose()

Game Lose .

Declaration
void OnGameLose()
| Improve this Doc View Source

OnGameSuccess()

Declaration
void OnGameSuccess()
| Improve this Doc View Source

OnGameValueReset()

Reset all gameplay relalte value

Declaration
void OnGameValueReset()
| Improve this Doc View Source

OnGUI()

Declaration
void OnGUI()
| Improve this Doc View Source

OnLeaveGame()

Excude after GamePlay() is end, but before GameResult()

Declaration
void OnLeaveGame()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX