Documentation
¶
Index ¶
- Constants
- func GetOptionAutoOption(attributeID entry.AttributeID, options *entry.AttributeOptions) (*entry.UnityAutoAttributeOption, error)
- func PrerenderAutoValue(ctx context.Context, option *entry.UnityAutoAttributeOption, ...) (*dto.HashResponse, error)
- type AttributeValueChangedMessage
- type AttributeValueChangedMessageData
Constants ¶
View Source
const ( RenderKindNone uint = iota RenderKindVideo RenderKindText )
Variables ¶
This section is empty.
Functions ¶
func GetOptionAutoOption ¶
func GetOptionAutoOption( attributeID entry.AttributeID, options *entry.AttributeOptions, ) (*entry.UnityAutoAttributeOption, error)
TODO: requre optimization to not do it every time we touch attribute
func PrerenderAutoValue ¶
func PrerenderAutoValue( ctx context.Context, option *entry.UnityAutoAttributeOption, value *entry.AttributeValue, ) (*dto.HashResponse, error)
Types ¶
type AttributeValueChangedMessage ¶
type AttributeValueChangedMessage struct {
Type universe.AttributeChangeType `json:"type"`
Data AttributeValueChangedMessageData `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.