assets_3d

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: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assets3d

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

func NewAssets3d

func NewAssets3d(db database.DB) *Assets3d

func (*Assets3d) AddAsset3d

func (a *Assets3d) AddAsset3d(asset3d universe.Asset3d, updateDB bool) error

func (*Assets3d) AddAssets3d

func (a *Assets3d) AddAssets3d(assets3d []universe.Asset3d, updateDB bool) error

func (*Assets3d) CreateAsset3d

func (a *Assets3d) CreateAsset3d(asset3dID uuid.UUID) (universe.Asset3d, error)

func (*Assets3d) FilterAssets3d

func (a *Assets3d) FilterAssets3d(predicateFn universe.Assets3dFilterPredicateFn) map[uuid.UUID]universe.Asset3d

func (*Assets3d) GetAsset3d

func (a *Assets3d) GetAsset3d(asset3dID uuid.UUID) (universe.Asset3d, bool)

func (*Assets3d) GetAssets3d

func (a *Assets3d) GetAssets3d() map[uuid.UUID]universe.Asset3d

func (*Assets3d) Initialize

func (a *Assets3d) Initialize(ctx context.Context) error

func (*Assets3d) Load

func (a *Assets3d) Load() error

func (*Assets3d) RegisterAPI

func (a *Assets3d) RegisterAPI(r *gin.Engine)

func (*Assets3d) RemoveAsset3d

func (a *Assets3d) RemoveAsset3d(asset3d universe.Asset3d, updateDB bool) error

func (*Assets3d) RemoveAsset3dByID

func (a *Assets3d) RemoveAsset3dByID(asset3dID uuid.UUID, updateDB bool) error

func (*Assets3d) RemoveAssets3d

func (a *Assets3d) RemoveAssets3d(assets3d []universe.Asset3d, updateDB bool) error

func (*Assets3d) RemoveAssets3dByIDs

func (a *Assets3d) RemoveAssets3dByIDs(assets3dIDs []uuid.UUID, updateDB bool) error

func (*Assets3d) Save

func (a *Assets3d) Save() error

Jump to

Keyboard shortcuts

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