Show / Hide Table of Contents

Class MyTSSVendingMachine

Inheritance
System.Object
MyTextSurfaceScriptBase
MyTSSCommon
MyTSSVendingMachine
Implements
IMyTextSurfaceScript
Inherited Members
MyTSSCommon.m_fontId
MyTSSCommon.m_fontScale
MyTSSCommon.AddBackground(MySpriteDrawFrame, Nullable<Color>)
MyTSSCommon.AddBrackets(MySpriteDrawFrame, Vector2, Single, Single)
MyTSSCommon.AddProgressBar(MySpriteDrawFrame, Vector2, Vector2, Single, Color, Color, String, String)
MyTSSCommon.AddTextBox(MySpriteDrawFrame, Vector2, Vector2, String, String, Single, Color, Color, String, Single)
MyTSSCommon.AddLine(MySpriteDrawFrame, Vector2, Vector2, Color, Single)
MyTextSurfaceScriptBase.DEFAULT_BACKGROUND_COLOR
MyTextSurfaceScriptBase.DEFAULT_FONT_COLOR
MyTextSurfaceScriptBase.m_surface
MyTextSurfaceScriptBase.m_block
MyTextSurfaceScriptBase.m_size
MyTextSurfaceScriptBase.m_halfSize
MyTextSurfaceScriptBase.m_scale
MyTextSurfaceScriptBase.m_backgroundColor
MyTextSurfaceScriptBase.m_foregroundColor
MyTextSurfaceScriptBase.FitRect(Vector2, Vector2)
MyTextSurfaceScriptBase.Surface
MyTextSurfaceScriptBase.Block
MyTextSurfaceScriptBase.ForegroundColor
MyTextSurfaceScriptBase.BackgroundColor
Namespace: Sandbox.Game.GameSystems.TextSurfaceScripts
Assembly: Sandbox.Game.dll
Syntax
[MyTextSurfaceScript("TSS_VendingMachine", "DisplayName_TSS_VendingMachine")]
public class MyTSSVendingMachine : MyTSSCommon, IMyTextSurfaceScript, IDisposable

Constructors

MyTSSVendingMachine(IMyTextSurface, IMyCubeBlock, Vector2)

Declaration
public MyTSSVendingMachine(IMyTextSurface surface, IMyCubeBlock block, Vector2 size)
Parameters
Type Name Description
IMyTextSurface surface
IMyCubeBlock block
Vector2 size

Properties

NeedsUpdate

Declaration
public override ScriptUpdate NeedsUpdate { get; }
Property Value
Type Description
ScriptUpdate
Overrides
MyTextSurfaceScriptBase.NeedsUpdate

Methods

Dispose()

Declaration
public override void Dispose()
Overrides
MyTextSurfaceScriptBase.Dispose()

GetMessageString()

Declaration
public string GetMessageString()
Returns
Type Description
System.String

Run()

Declaration
public override void Run()
Overrides
MyTSSCommon.Run()

Implements

IMyTextSurfaceScript
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾