MCPcopy Create free account
hub / github.com/Monibuca/engine / SetInt64

Method SetInt64

util/strutct.go:86–90  ·  view source on GitHub ↗
(name string, value int64)

Source from the content-addressed store, hash-verified

84 }
85}
86func (in *Instance) SetInt64(name string, value int64) {
87 if i, ok := in.index[name]; ok {
88 in.instance.Field(i).SetInt(value)
89 }
90}
91func (in *Instance) SetFloat64(name string, value float64) {
92 if i, ok := in.index[name]; ok {
93 in.instance.Field(i).SetFloat(value)

Callers

nothing calls this directly

Calls 1

FieldMethod · 0.80

Tested by

no test coverage detected