mgr

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Cmds []string
)

Functions

func BattleSim

func BattleSim(key bool)

func CommandActions

func CommandActions(arg string)

func DeployPVPBattle

func DeployPVPBattle()

func Exit

func Exit()

func FindMonster

func FindMonster(msg *cache.CallByUser, lv, eType uint32) int32

func GetUniqueNamePre

func GetUniqueNamePre() string

func GetValueByKey

func GetValueByKey(data *proto.ST_ResponForm_PB, key string) (*proto.ST_ResponPair_PB, bool)

func Init

func Init()

Init ..初始化一些成员变量

func MakeStrategyInstance

func MakeStrategyInstance(aType uint32) ActionSTGs.ActionSTG

func RandomChooseOne

func RandomChooseOne() (string, uint32)

func RandomReLogin

func RandomReLogin()

func ReLogin

func ReLogin(robName string)

func ReqAreaData

func ReqAreaData(msg *cache.CallByUser) *proto.ST_Uint64List_PB

func ReqDetailLst

func ReqDetailLst(msg *cache.CallByUser, idlst *proto.ST_Uint64List_PB) int32

func RobMore

func RobMore(robNum int64, arg2 string)

func RobotInput

func RobotInput(robNum int64, namePre string)

func RobotPVPBattle

func RobotPVPBattle(key bool)

func Run

func Run()

func RunActions

func RunActions()

func RunRobotJoinSTG

func RunRobotJoinSTG()

RunRobotJoinSTG ..运行机器人投放策略(CSV配置文件)

func SetDelay

func SetDelay(sec int64)

func TryConnection

func TryConnection() bool

/ 一个客户端,频繁请求服务端时间,修改本机时间 这里应该有些什么?

func UpdateControllerByResponse

func UpdateControllerByResponse(o *cache.Controller, res *proto.ST_ResponForm_PB) proto.RetActionType

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL