Table of Contents

Class Menu

Namespace
Menu
Assembly
Assembly-CSharp.dll
public abstract class Menu : MainLoopProcess
Inheritance
Menu
Derived
Inherited Members

Constructors

public Menu(ProcessManager manager, ProcessManager.ProcessID ID)

Parameters

manager ProcessManager
ID ProcessManager.ProcessID

Fields

public bool allAlienSoundLoopsAreGone

Field Value

bool
public bool allowSelectMove

Field Value

bool
public MenuObject backObject

Field Value

MenuObject
public FContainer container

Field Value

FContainer
public int currentPage

Field Value

int
public FContainer cursorContainer

Field Value

FContainer
public float floatScrollWheel

Field Value

float
public GradientsContainer gradientsContainer

Field Value

GradientsContainer
public bool holdButton

Field Value

bool
public FLabel infoLabel

Field Value

FLabel
public float infoLabelFade

Field Value

float
public float infoLabelSin

Field Value

float
public bool infolabelDirty

Field Value

bool
public bool init

Field Value

bool
public Player.InputPackage input

Field Value

Player.InputPackage
public bool lastHoldButton

Field Value

bool
public float lastInfoLabelFade

Field Value

float
public Player.InputPackage lastInput

Field Value

Player.InputPackage
public bool lastMouseDown

Field Value

bool
public Vector2 lastMousePos

Field Value

Vector2
public int lastScrollWheel

Field Value

int
public bool modeSwitch

Field Value

bool
public bool mouseDown

Field Value

bool
public Vector2 mousePosition

Field Value

Vector2
public int mouseScrollWheelMovement

Field Value

int
public SoundID mySoundLoopID

Field Value

SoundID
public string mySoundLoopName

Field Value

string
public List<Page> pages

Field Value

List<Page>
public bool pressButton

Field Value

bool
public MenuScene scene

Field Value

MenuScene
public int scrollDelay

Field Value

int
public int scrollInitDelay

Field Value

int
public MenuObject selectedObject

Field Value

MenuObject
public MenuMicrophone.MenuSoundLoop soundLoop

Field Value

MenuMicrophone.MenuSoundLoop

Properties

public bool Active { get; }

Property Value

bool
public override bool AllowDialogs { get; }

Property Value

bool
public InGameTranslator.LanguageID CurrLang { get; }

Property Value

InGameTranslator.LanguageID
public virtual bool ForceNoMouseMode { get; }

Property Value

bool
public virtual bool FreezeMenuFunctions { get; }

Property Value

bool
public bool HoldButtonDisregardingFreeze { get; }

Property Value

bool
public Player.InputPackage NonMouseInputDisregardingFreeze { get; }

Property Value

Player.InputPackage
public virtual bool ShowCursor { get; }

Property Value

bool

Methods

public Vector2 CenterPositionOfObject(PositionedMenuObject obj)

Parameters

obj PositionedMenuObject

Returns

Vector2
public override void CommunicateWithUpcomingProcess(MainLoopProcess nextProcess)

Parameters

nextProcess MainLoopProcess
public bool GetFreezeMenuFunctions()

Returns

bool
public override void GrafUpdate(float timeStacker)

Parameters

timeStacker float
public static float HorizontalMoveToGetCentered(ProcessManager manager)

Parameters

manager ProcessManager

Returns

float
public virtual void Init()
public static HSLColor MenuColor(Menu.MenuColors col)

Parameters

col Menu.MenuColors

Returns

HSLColor
public static Color MenuRGB(Menu.MenuColors col)

Parameters

col Menu.MenuColors

Returns

Color
public void MutualHorizontalButtonBind(MenuObject left, MenuObject right)

Parameters

left MenuObject
right MenuObject
public void MutualVerticalButtonBind(MenuObject bottom, MenuObject top)

Parameters

bottom MenuObject
top MenuObject
public MenuMicrophone.MenuSoundLoop PlayLoop(SoundID soundID, float pan, float vol, float pitch, bool isBkgLoop)

Parameters

soundID SoundID
pan float
vol float
pitch float
isBkgLoop bool

Returns

MenuMicrophone.MenuSoundLoop
public MenuMicrophone.MenuSoundLoop PlayLoopCustom(string soundName, float pan, float vol, float pitch, bool isBkgLoop)

Parameters

soundName string
pan float
vol float
pitch float
isBkgLoop bool

Returns

MenuMicrophone.MenuSoundLoop
public void PlaySound(SoundID soundID)

Parameters

soundID SoundID
public void PlaySound(SoundID soundID, float pan, float vol, float pitch)

Parameters

soundID SoundID
pan float
vol float
pitch float
public void PlaySoundCustom(string soundName, float pan, float vol, float pitch)

Parameters

soundName string
pan float
vol float
pitch float
public void ResetSelection()
public MenuObject SelectCandidate(IntVector2 direction)

Parameters

direction IntVector2

Returns

MenuObject
public void SelectNewObject(IntVector2 direction)

Parameters

direction IntVector2
public override void ShutDownProcess()
public virtual void Singal(MenuObject sender, string message)

Parameters

sender MenuObject
message string
public virtual void SliderSetValue(Slider slider, float f)

Parameters

slider Slider
f float
public string Translate(string s)

Parameters

s string

Returns

string
public string Translate(string s, int evenSplits)

Parameters

s string
evenSplits int

Returns

string
public override void Update()
public virtual string UpdateInfoText()

Returns

string
public virtual float ValueOfSlider(Slider slider)

Parameters

slider Slider

Returns

float