mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-23 14:32:27 +08:00
整理代码,私有变量接口化访问
This commit is contained in:
@@ -50,6 +50,10 @@ func NewCommandManager() *CommandManager {
|
||||
return r
|
||||
}
|
||||
|
||||
func (c *CommandManager) GetCommandTextInput() chan *CommandMessage {
|
||||
return c.commandTextInput
|
||||
}
|
||||
|
||||
// SetSystem 设置GM指令聊天消息机器人
|
||||
func (c *CommandManager) SetSystem(system *model.Player) {
|
||||
c.system = system
|
||||
|
||||
Reference in New Issue
Block a user