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

Method ReceiveMessage

contents.go:2209–2215  ·  view source on GitHub ↗
(msg *Message)

Source from the content-addressed store, hash-verified

2207}
2208
2209func (tc *TimerContents) ReceiveMessage(msg *Message) {
2210 if msg.Type == MessageVolumeChange {
2211 if tc.AlarmSound != nil {
2212 tc.AlarmSound.UpdateVolume()
2213 }
2214 }
2215}
2216
2217func (tc *TimerContents) Color() Color {
2218

Callers

nothing calls this directly

Calls 1

UpdateVolumeMethod · 0.80

Tested by

no test coverage detected