game_sync/gamesrv/slotspkg/slots/plugin/cashmania/tospecial.go

33 lines
716 B
Go

package cashmania
import (
"mongo.games.com/game/gamesrv/slotspkg/internal/generic/key"
"mongo.games.com/game/gamesrv/slotspkg/slots/intf"
"mongo.games.com/game/gamesrv/slotspkg/slots/plugin/generic"
)
type PluginSpecial struct {
generic.PluginBase
}
// Theme implements generic.PluginBase.Theme
func (p *PluginSpecial) Theme() string {
return key.CashMania
}
// Special
type Special struct {
}
// 获取特性数据
func (p *PluginSpecial) getCustomSpecial(m intf.Master) *Special {
customSpecial := new(Special)
if len(m.CursorCustoms(customSpecial)) == 0 {
m.AddCursorFeature(customSpecial)
}
return m.CursorCustom(customSpecial).(*Special)
}
func (p *PluginSpecial) AfterSpin(m intf.Master) {
}