game_conf.go 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package newCentralControl
  2. import "log-server/model/typeManage"
  3. type GameConf struct {
  4. Id int `json:"id"`
  5. ConfName string `json:"conf_name"` //配置名
  6. WindowsNumber int `json:"windows_number"` //窗口数
  7. Mirror string `json:"mirror"` //镜像
  8. Script string `json:"script"` //脚本
  9. CloneMode int `json:"clone_mode"` //克隆模式
  10. SimulatorType int `json:"simulator_type"` //模拟器类型
  11. Resolution string `json:"resolution"` //分辨率
  12. Zoom string `json:"zoom"` //缩放
  13. Timeout int `json:"timeout"` //超时时间
  14. Cpu int `json:"cpu"` //cpu
  15. MemorySize int `json:"memory_size"` //内存
  16. TaskId int `json:"task_id"` //任务id
  17. GameId int `json:"game_id"` //游戏id
  18. Priority string `json:"priority"` //优先级
  19. GameType int `json:"game_type"` //任务类型
  20. TxChannel string `json:"tx_channel"` //'腾讯渠道号',
  21. TxGameId string `json:"tx_game_id"` //'腾讯游戏id',
  22. MzChannel string `json:"mz_channel"` //'魅族渠道号',
  23. MzGameId string `json:"mz_game_id"` //'魅族游戏id',
  24. PayPrice int `json:"pay_price"` //'付费单价',
  25. MirrorUpdate string `json:"mirror_update"` //镜像是否更新
  26. ScriptUpdate string `json:"script_update"` //脚本是否更新
  27. TaskAccount int `json:"task_account"` //任务下发账号类型,-1:只做新增,0:没有要求.1:只做留存
  28. Md5Verify string `json:"md5_verify"` //md5校验
  29. PayQuit string `json:"pay_quit"` //做完付费就退
  30. ProxyType int `json:"proxy_type"` //代理类型,1多开王 2无忧ip
  31. CreateTime typeManage.LocalTime `json:"create_time"`
  32. UpdateTime typeManage.LocalTime `json:"update_time"`
  33. }
  34. func (GameConf) TableName() string {
  35. return "game_conf"
  36. }