Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttackerCommand ¶
type AttackerCommand int
const ( CMD_NULL AttackerCommand = iota CMD_CONTINUE CMD_RETURN CMD_ABORT CMD_SKIP CMD_ROLE_TO_NORMAL // 角色转换为普通节点 CMD_ROLE_TO_ATTACKER // 角色转换为攻击者 CMD_EXIT )
type AttackerResponse ¶
type AttackerResponse struct { Cmd AttackerCommand `json:"cmd"` Result string `json:"result"` }
type ClientInfo ¶
func ToClientInfo ¶
func ToClientInfo(cliInfo string) ClientInfo
Click to show internal directories.
Click to hide internal directories.