Documentation ¶
Index ¶
- type ObjectType
- func (ot *ObjectType) GetAsset2d() universe.Asset2d
- func (ot *ObjectType) GetAsset3d() universe.Asset3d
- func (ot *ObjectType) GetCategoryName() string
- func (ot *ObjectType) GetDescription() *string
- func (ot *ObjectType) GetEntry() *entry.ObjectType
- func (ot *ObjectType) GetID() umid.UMID
- func (ot *ObjectType) GetName() string
- func (ot *ObjectType) GetOptions() *entry.ObjectOptions
- func (ot *ObjectType) Initialize(ctx types.LoggerContext) error
- func (ot *ObjectType) LoadFromEntry(row *entry.ObjectType) error
- func (ot *ObjectType) SetAsset2d(asset2d universe.Asset2d, updateDB bool) error
- func (ot *ObjectType) SetAsset3d(asset3d universe.Asset3d, updateDB bool) error
- func (ot *ObjectType) SetCategoryName(categoryName string, updateDB bool) error
- func (ot *ObjectType) SetDescription(description *string, updateDB bool) error
- func (ot *ObjectType) SetName(name string, updateDB bool) error
- func (ot *ObjectType) SetOptions(modifyFn modify.Fn[entry.ObjectOptions], updateDB bool) (*entry.ObjectOptions, error)
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) SetOptions ¶
func (ot *ObjectType) SetOptions(modifyFn modify.Fn[entry.ObjectOptions], updateDB bool) (*entry.ObjectOptions, error)
Click to show internal directories.
Click to hide internal directories.