generator

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IptString = iota
	IptNumber
	IptBoolean
	IptJson
	IptFile
	IptEnum
	IptRelation
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectionWithProperties

type CollectionWithProperties struct {
	Collection *pocketbase_api.Collection
	Properties []*InterfaceProperty
}

func (CollectionWithProperties) GetGdScriptCollectionEntry added in v0.0.3

func (collection CollectionWithProperties) GetGdScriptCollectionEntry(generatorFlags *cmd.GeneratorFlags) string

func (CollectionWithProperties) GetGdScriptInterface

func (collection CollectionWithProperties) GetGdScriptInterface(generatorFlags *cmd.GeneratorFlags) string

type InterfaceProperty

type InterfaceProperty struct {
	Name           string
	CollectionName string
	Optional       bool
	Type           InterfacePropertyType
	IsArray        bool
	Data           interface{}
}

func (InterfaceProperty) GetGdscriptProperty

func (property InterfaceProperty) GetGdscriptProperty(generatorFlags *cmd.GeneratorFlags, flags propertyFlags) string

func (InterfaceProperty) String

func (property InterfaceProperty) String() string

type InterfacePropertyType

type InterfacePropertyType int

func GetInterfacePropertyType

func GetInterfacePropertyType(typeName string) InterfacePropertyType

func (InterfacePropertyType) String

func (propertyType InterfacePropertyType) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL