mirror of
https://github.com/duanhf2012/origin.git
synced 2026-05-08 14:57:29 +08:00
优化蓝图代码
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/duanhf2012/origin/v2/log"
|
"github.com/duanhf2012/origin/v2/log"
|
||||||
"github.com/duanhf2012/origin/v2/service"
|
|
||||||
"github.com/goccy/go-json"
|
"github.com/goccy/go-json"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -25,8 +25,6 @@ type IBlueprintModule interface {
|
|||||||
SafeAfterFunc(timerId *uint64, d time.Duration, AdditionData interface{}, cb func(uint64, interface{}))
|
SafeAfterFunc(timerId *uint64, d time.Duration, AdditionData interface{}, cb func(uint64, interface{}))
|
||||||
TriggerEvent(graphID int64, eventID int64, args ...any) error
|
TriggerEvent(graphID int64, eventID int64, args ...any) error
|
||||||
CancelTimerId(graphID int64, timerId *uint64) bool
|
CancelTimerId(graphID int64, timerId *uint64) bool
|
||||||
GetGameService() service.IService
|
|
||||||
GetBattleService() service.IService
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type baseGraph struct {
|
type baseGraph struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user