object_type

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 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 ObjectType

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

func NewObjectType

func NewObjectType(id umid.UMID, db database.DB) *ObjectType

func (*ObjectType) GetAsset2d

func (ot *ObjectType) GetAsset2d() universe.Asset2d

func (*ObjectType) GetAsset3d

func (ot *ObjectType) GetAsset3d() universe.Asset3d

func (*ObjectType) GetCategoryName

func (ot *ObjectType) GetCategoryName() string

func (*ObjectType) GetDescription

func (ot *ObjectType) GetDescription() *string

func (*ObjectType) GetEntry

func (ot *ObjectType) GetEntry() *entry.ObjectType

func (*ObjectType) GetID

func (ot *ObjectType) GetID() umid.UMID

func (*ObjectType) GetName

func (ot *ObjectType) GetName() string

func (*ObjectType) GetOptions

func (ot *ObjectType) GetOptions() *entry.ObjectOptions

func (*ObjectType) Initialize

func (ot *ObjectType) Initialize(ctx types.LoggerContext) error

func (*ObjectType) LoadFromEntry

func (ot *ObjectType) LoadFromEntry(row *entry.ObjectType) error

func (*ObjectType) SetAsset2d

func (ot *ObjectType) SetAsset2d(asset2d universe.Asset2d, updateDB bool) error

func (*ObjectType) SetAsset3d

func (ot *ObjectType) SetAsset3d(asset3d universe.Asset3d, updateDB bool) error

func (*ObjectType) SetCategoryName

func (ot *ObjectType) SetCategoryName(categoryName string, updateDB bool) error

func (*ObjectType) SetDescription

func (ot *ObjectType) SetDescription(description *string, updateDB bool) error

func (*ObjectType) SetName

func (ot *ObjectType) SetName(name string, updateDB bool) error

func (*ObjectType) SetOptions

func (ot *ObjectType) SetOptions(modifyFn modify.Fn[entry.ObjectOptions], updateDB bool) (*entry.ObjectOptions, error)

Jump to

Keyboard shortcuts

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