Table of Contents

Class TextPrompt

Namespace
HUD
Assembly
Assembly-CSharp.dll
public class TextPrompt : HudPart
Inheritance
TextPrompt
Inherited Members

Constructors

TextPrompt(HUD)

public TextPrompt(HUD hud)

Parameters

hud HUD

Fields

currentlyShowing

public TextPrompt.InfoID currentlyShowing

Field Value

TextPrompt.InfoID

cycleTick

public int cycleTick

Field Value

int

deathPos

public Vector2 deathPos

Field Value

Vector2

deathRoom

public int deathRoom

Field Value

int

defaultMapControls

public bool[] defaultMapControls

Field Value

bool[]

defaultPauseControls

public bool[] defaultPauseControls

Field Value

bool[]

dependentOnGrasp

public Creature.Grasp dependentOnGrasp

Field Value

Creature.Grasp

foodInStomach

public int foodInStomach

Field Value

int

foodVisibleMode

public float foodVisibleMode

Field Value

float

fullscreenFade

public FSprite fullscreenFade

Field Value

FSprite

gameOverMode

public bool gameOverMode

Field Value

bool

gameOverString

public string gameOverString

Field Value

string

hideHud

public bool hideHud

Field Value

bool

label

public FLabel label

Field Value

FLabel

lastAnyKey

public bool lastAnyKey

Field Value

bool

lastControllerType

public Options.ControlSetup.Preset lastControllerType

Field Value

Options.ControlSetup.Preset

lastFoodVisibleMode

public float lastFoodVisibleMode

Field Value

float

lastPauseModeHeight

public float lastPauseModeHeight

Field Value

float

lastShow

public float lastShow

Field Value

float

lastSin

public float lastSin

Field Value

float

messageString

public string messageString

Field Value

string

messages

public List<TextPrompt.Message> messages

Field Value

List<TextPrompt.Message>

musicSprite

public FSprite musicSprite

Field Value

FSprite

pauseModeHeight

public float pauseModeHeight

Field Value

float

pausedMode

public bool pausedMode

Field Value

bool

pausedWarningText

public bool pausedWarningText

Field Value

bool

playGameOverSound

public bool playGameOverSound

Field Value

bool

restartNotAllowed

public int restartNotAllowed

Field Value

int

show

public float show

Field Value

float

sin

public float sin

Field Value

float

sprites

public FSprite[] sprites

Field Value

FSprite[]

subregionTracker

public SubregionTracker subregionTracker

Field Value

SubregionTracker

symbols

public List<IconSymbol> symbols

Field Value

List<IconSymbol>

symbolsX

public float symbolsX

Field Value

float

Methods

AddMessage(string, int, int, bool, bool)

public void AddMessage(string text, int wait, int time, bool darken, bool hideHud)

Parameters

text string
wait int
time int
darken bool
hideHud bool

AddMessage(string, int, int, bool, bool, float, List<SandboxUnlockID>)

public void AddMessage(string text, int wait, int time, bool darken, bool hideHud, float iconsX, List<MultiplayerUnlocks.SandboxUnlockID> iconIDs)

Parameters

text string
wait int
time int
darken bool
hideHud bool
iconsX float
iconIDs List<MultiplayerUnlocks.SandboxUnlockID>

AddMusicMessage(string, int)

public void AddMusicMessage(string text, int time)

Parameters

text string
time int

ClearSprites()

public override void ClearSprites()

Draw(float)

public override void Draw(float timeStacker)

Parameters

timeStacker float

EnterGameOverMode(Grasp, int, int, Vector2)

public void EnterGameOverMode(Creature.Grasp dependentOnGrasp, int foodInStomach, int deathRoom, Vector2 deathPos)

Parameters

dependentOnGrasp Creature.Grasp
foodInStomach int
deathRoom int
deathPos Vector2

InitNextMessage()

public void InitNextMessage()

LowerBorderHeight(float)

public float LowerBorderHeight(float timeStacker)

Parameters

timeStacker float

Returns

float

Update()

public override void Update()

UpdateGameOverString(Preset)

public void UpdateGameOverString(Options.ControlSetup.Preset controllerType)

Parameters

controllerType Options.ControlSetup.Preset