1
0
Fork 0
mirror of https://github.com/Luzifer/sii.git synced 2024-12-21 00:21:15 +00:00
sii/block_economy_event_queue.go

20 lines
362 B
Go
Raw Normal View History

package sii
func init() {
RegisterBlock(&EconomyEventQueue{})
}
type EconomyEventQueue struct {
Data []Ptr `sii:"data"`
blockName string
}
func (EconomyEventQueue) Class() string { return "economy_event_queue" }
func (e *EconomyEventQueue) Init(class, name string) {
e.blockName = name
}
func (e EconomyEventQueue) Name() string { return e.blockName }