- 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
Field Value
- int
public FContainer cursorContainer
Field Value
- FContainer
public float floatScrollWheel
Field Value
- float
public GradientsContainer gradientsContainer
Field Value
- GradientsContainer
Field Value
- bool
Field Value
- FLabel
public float infoLabelFade
Field Value
- float
public float infoLabelSin
Field Value
- float
public bool infolabelDirty
Field Value
- bool
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
Field Value
- bool
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
Field Value
- List<Page>
Field Value
- bool
Field Value
- MenuScene
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
CommunicateWithUpcomingProcess(MainLoopProcess)
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()
SelectCandidate(IntVector2)
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