space_type

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpaceType

type SpaceType struct {
	// contains filtered or unexported fields
}

func NewSpaceType

func NewSpaceType(id uuid.UUID, db database.DB) *SpaceType

func (*SpaceType) GetAsset2d

func (s *SpaceType) GetAsset2d() universe.Asset2d

func (*SpaceType) GetAsset3d

func (s *SpaceType) GetAsset3d() universe.Asset3d

func (*SpaceType) GetCategoryName

func (s *SpaceType) GetCategoryName() string

func (*SpaceType) GetDescription

func (s *SpaceType) GetDescription() *string

func (*SpaceType) GetEntry

func (s *SpaceType) GetEntry() *entry.SpaceType

func (*SpaceType) GetID

func (s *SpaceType) GetID() uuid.UUID

func (*SpaceType) GetName

func (s *SpaceType) GetName() string

func (*SpaceType) GetOptions

func (s *SpaceType) GetOptions() *entry.SpaceOptions

func (*SpaceType) Initialize

func (s *SpaceType) Initialize(ctx context.Context) error

func (*SpaceType) LoadFromEntry

func (s *SpaceType) LoadFromEntry(entry *entry.SpaceType) error

func (*SpaceType) SetAsset2d

func (s *SpaceType) SetAsset2d(asset2d universe.Asset2d, updateDB bool) error

func (*SpaceType) SetAsset3d

func (s *SpaceType) SetAsset3d(asset3d universe.Asset3d, updateDB bool) error

func (*SpaceType) SetCategoryName

func (s *SpaceType) SetCategoryName(categoryName string, updateDB bool) error

func (*SpaceType) SetDescription

func (s *SpaceType) SetDescription(description *string, updateDB bool) error

func (*SpaceType) SetName

func (s *SpaceType) SetName(name string, updateDB bool) error

func (*SpaceType) SetOptions

func (s *SpaceType) SetOptions(modifyFn modify.Fn[entry.SpaceOptions], updateDB bool) (*entry.SpaceOptions, error)

Jump to

Keyboard shortcuts

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