Documentation ¶
Index ¶
Constants ¶
View Source
const ( COROUTINE_EVENT = 1 CALLATER_EVT = 2 ClOSE_EVQ_EVT = 3 )
Variables ¶
This section is empty.
Functions ¶
func CreateEventID ¶
func CreateEventID() int
func HandleEvent ¶
func Initialize ¶
Types ¶
type CommonEvent ¶
type CommonEvent struct {
// contains filtered or unexported fields
}
func NewCommonEvent ¶
func NewCommonEvent(evenID int, data ...interface{}) *CommonEvent
func (*CommonEvent) GetData ¶
func (ce *CommonEvent) GetData() []interface{}
func (*CommonEvent) GetEventId ¶
func (ce *CommonEvent) GetEventId() int
func (*CommonEvent) String ¶
func (ce *CommonEvent) String() string
type Coroutine ¶
type Coroutine struct {
// contains filtered or unexported fields
}
implement IEvent
func (*Coroutine) GetEventId ¶
Click to show internal directories.
Click to hide internal directories.