Table of Contents

Class OptionBase

Namespace
Squiggles.Core.Scenes.UI.Menus.Gameplay
Assembly
SquigglesCommon4X.dll

The base of an option for the GameplayOptionsSettings. The child classes of this are able to be applied to create custom options that are generated in the menu and are able to be retrieved using GameplaySettings

[GlobalClass]
[ScriptPath("res://Core/Scenes/UI/Menus/OptionsTabs/GameplayTabResources/OptionBase.cs")]
public class OptionBase : Resource, IDisposable
Inheritance
GodotObject
RefCounted
Resource
OptionBase
Implements
Derived
Inherited Members
Resource._GetRid()
Resource.GetRid()
Resource.GetLocalScene()
Resource.SetupLocalToScene()
Resource.EmitChanged()
Resource.ResourceLocalToScene
Resource.ResourcePath
Resource.ResourceName
Resource.Changed
Resource.SetupLocalToSceneRequested
RefCounted.InitRef()
RefCounted.Reference()
RefCounted.Unreference()
RefCounted.GetReferenceCount()
GodotObject.NotificationPostinitialize
GodotObject.NotificationPredelete
GodotObject.NativeInstance
GodotObject.ScriptChanged
GodotObject.PropertyListChanged

Fields

InMenuName

The name to diplay in menu (can be a translation id for internaltionalization)

[Export(PropertyHint.None, "")]
public string InMenuName

Field Value

string

InternalName

The name that serves as the key for this option internally. Must be unique among other OptionBase values, but otherwise it can be literally anything you want.

[Export(PropertyHint.None, "")]
public string InternalName

Field Value

string