Class HostGlobal¶
Namespace: Apogee.Scripting
Assembly: Apogee.Scripting.dll
A global that the host sets in its VMs (
public sealed record HostGlobal : IEquatable<HostGlobal>
Inheritance¶
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
HostGlobal(string, string, string?)¶
A global that the host sets in its VMs (
public HostGlobal(string Name, string Type, string? Doc = null)
Parameters¶
Name string
The global's name.
Type string
Its type in Luau, such as World.
Doc string?
One line for hover, or null.
Properties¶
Doc¶
One line for hover, or null.
public string? Doc { get; init; }
Property Value¶
Name¶
The global's name.
public string Name { get; init; }
Property Value¶
Type¶
Its type in Luau, such as World.
public string Type { get; init; }