API ReferenceSandbox.Internal
public abstract interface Sandbox.Internal.IMenuSystem
This is how the engine communicates with the menu system
Methods
Showing 8 methods
public virtual void Init()
Called to initialize the menu system
public virtual void OnPackageClosed(Sandbox.Package package)
Package closed. Add a toast asking if it was cool or not
public virtual void PackageFavouritesChanged(string packageIdent, long value)
Notifies that the number of favourites for the specified package has changed.
public virtual void PackageUsageChanged(string packageIdent, long userCount)
The backend is telling us that the number of users playing has changed
public virtual void Popup(string type, string title, string subtitle)
Show a popup
public virtual void Question(string message, string icon, System.Action yes, System.Action no)
Show a question
public virtual void Shutdown()
Close down the menu, delete everything
public virtual void Tick()
Called every frame, to let the menu think
No results match this filter.
Properties
Showing 1 properties
public virtual bool Sandbox.Internal.IMenuSystem.ForceCursorVisible { get; set; }
True if we want to force the cursor to be visible and swallow input. This is used for the developer console and loading screens.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.Internal |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Internal.IMenuSystem |