Documentation ¶
Index ¶
- type Assets2d
- func (a *Assets2d) AddAsset2d(asset2d universe.Asset2d, updateDB bool) error
- func (a *Assets2d) AddAssets2d(assets2d []universe.Asset2d, updateDB bool) error
- func (a *Assets2d) CreateAsset2d(asset2dID umid.UMID) (universe.Asset2d, error)
- func (a *Assets2d) FilterAssets2d(predicateFn universe.Assets2dFilterPredicateFn) map[umid.UMID]universe.Asset2d
- func (a *Assets2d) GetAsset2d(asset2dID umid.UMID) (universe.Asset2d, bool)
- func (a *Assets2d) GetAssets2d() map[umid.UMID]universe.Asset2d
- func (a *Assets2d) Initialize(ctx types.NodeContext) error
- func (a *Assets2d) Load() error
- func (a *Assets2d) RegisterAPI(r *gin.Engine)
- func (a *Assets2d) RemoveAsset2d(asset2d universe.Asset2d, updateDB bool) (bool, error)
- func (a *Assets2d) RemoveAssets2d(assets2d []universe.Asset2d, updateDB bool) (bool, error)
- func (a *Assets2d) Save() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assets2d ¶
type Assets2d struct {
// contains filtered or unexported fields
}
func NewAssets2d ¶
func (*Assets2d) AddAsset2d ¶
func (*Assets2d) AddAssets2d ¶
func (*Assets2d) CreateAsset2d ¶
func (*Assets2d) FilterAssets2d ¶
func (*Assets2d) GetAsset2d ¶
func (*Assets2d) Initialize ¶
func (a *Assets2d) Initialize(ctx types.NodeContext) error
func (*Assets2d) RegisterAPI ¶
func (*Assets2d) RemoveAsset2d ¶
func (*Assets2d) RemoveAssets2d ¶
Click to show internal directories.
Click to hide internal directories.