Table of Contents

Class GameAPI

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class GameAPI : MonoBehaviour
Inheritance
GameAPI
Inherited Members
Extension Methods

Constructors

GameAPI()

public GameAPI()

Fields

BASE_BUDGET

public static readonly int BASE_BUDGET

Field Value

int

BUDGET_FACTOR

public static readonly float BUDGET_FACTOR

Field Value

float

instance

public static GameAPI instance

Field Value

GameAPI

objectSpawnedAction

public Action<GameObject> objectSpawnedAction

Field Value

Action<GameObject>

seed

public static int seed

Field Value

int

Properties

ArtifactBudget

public static int ArtifactBudget { get; set; }

Property Value

int

CurrentDay

public static int CurrentDay { get; }

Property Value

int

MaxSingleMonsterCost

public static int MaxSingleMonsterCost { get; set; }

Property Value

int

MonsterBudget

public static int MonsterBudget { get; set; }

Property Value

int

matchSeed

public static int matchSeed { get; }

Property Value

int

Methods

Awake()

public void Awake()

GenerateNewBudget(int, int, bool)

public static void GenerateNewBudget(int currentDay, int quotaDay, bool supressLogs = false)

Parameters

currentDay int
quotaDay int
supressLogs bool

GetSeededPositionProbability(Vector3, double)

public static bool GetSeededPositionProbability(Vector3 position, double probability)

Parameters

position Vector3
probability double

Returns

bool