mirror of
https://github.com/Luzifer/sii.git
synced 2024-12-21 00:21:15 +00:00
19 lines
362 B
Go
19 lines
362 B
Go
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 }
|