Documentation
¶
Overview ¶
Package ScriptExtension provides methods for working with ScriptExtension object instances.
Index ¶
- type Advanced
- type Any
- type Implementation
- type Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsResource() Resource.Instance
- func (self Instance) AsScript() Script.Instance
- func (self Instance) AsScriptExtension() Instance
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advanced ¶
type Advanced = class
Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.
type Implementation ¶
type Implementation = implementation
Implementation implements Interface with empty methods.
type Instance ¶
type Instance [1]gdclass.ScriptExtension
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) AsResource ¶
func (Instance) AsScriptExtension ¶
func (*Instance) UnsafePointer ¶
type Interface ¶
type Interface interface { EditorCanReloadFromFile() bool PlaceholderErased(placeholder unsafe.Pointer) CanInstantiate() bool GetBaseScript() [1]gdclass.Script GetGlobalName() string InheritsScript(script [1]gdclass.Script) bool GetInstanceBaseType() string InstanceCreate(for_object Object.Instance) unsafe.Pointer PlaceholderInstanceCreate(for_object Object.Instance) unsafe.Pointer InstanceHas(obj Object.Instance) bool HasSourceCode() bool GetSourceCode() string SetSourceCode(code string) Reload(keep_state bool) error GetDocumentation() []map[any]any GetClassIconPath() string HasMethod(method string) bool HasStaticMethod(method string) bool //Return the expected argument count for the given [param method], or [code]null[/code] if it can't be determined (which will then fall back to the default behavior). GetScriptMethodArgumentCount(method string) any GetMethodInfo(method string) map[any]any IsTool() bool IsValid() bool //Returns [code]true[/code] if the script is an abstract script. An abstract script does not have a constructor and cannot be instantiated. IsAbstract() bool GetLanguage() [1]gdclass.ScriptLanguage HasScriptSignal(signal string) bool GetScriptSignalList() []map[any]any HasPropertyDefaultValue(property string) bool GetPropertyDefaultValue(property string) any UpdateExports() GetScriptMethodList() []map[any]any GetScriptPropertyList() []map[any]any GetMemberLine(member string) int GetConstants() map[any]any GetMembers() []string IsPlaceholderFallbackEnabled() bool GetRpcConfig() any }
Click to show internal directories.
Click to hide internal directories.