mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
优化架构
This commit is contained in:
19
gs/constant/fetter_state.go
Normal file
19
gs/constant/fetter_state.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package constant
|
||||
|
||||
var FetterStateConst *FetterState
|
||||
|
||||
type FetterState struct {
|
||||
NONE uint16
|
||||
NOT_OPEN uint16
|
||||
OPEN uint16
|
||||
FINISH uint16
|
||||
}
|
||||
|
||||
func InitFetterStateConst() {
|
||||
FetterStateConst = new(FetterState)
|
||||
|
||||
FetterStateConst.NONE = 0
|
||||
FetterStateConst.NOT_OPEN = 1
|
||||
FetterStateConst.OPEN = 1
|
||||
FetterStateConst.FINISH = 3
|
||||
}
|
||||
Reference in New Issue
Block a user