MCPcopy Create free account
hub / github.com/SolarLune/masterplan / SetRaw

Method SetRaw

properties.go:147–149  ·  view source on GitHub ↗

func (prop *Property) SetAfterParse(value interface{}) { current := prop.AsJSON() parsed, err := sjson.Set(current.String(), "#0", value) prop.Set(parsed) fmt.Println(parsed, err) } SetRaw sets the property, but without triggering OnChange

(value interface{})

Source from the content-addressed store, hash-verified

145
146// SetRaw sets the property, but without triggering OnChange
147func (prop *Property) SetRaw(value interface{}) {
148 prop.data = value
149}
150
151// Contains serializable properties for a Card.
152type Properties struct {

Callers 15

SerializeMethod · 0.80
SerializeMethod · 0.80
SaveMethod · 0.80
DeserializeMethod · 0.80
PushMethod · 0.80
RotateMethod · 0.80
FlipMethod · 0.80
NewMapContentsFunction · 0.80
UpdateMethod · 0.80
ReceiveMessageMethod · 0.80
NewTableContentsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected