models

package
v0.0.0-...-44a0b5b Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GameModeNone GameMode = ""
	// 游戏模式
	GameModeClassic GameMode = "CLASSIC"      // 经典模式
	GameModeARAM    GameMode = "ARAM"         // 大乱斗
	GameModeTFT     GameMode = "TFT"          // 云顶之弈
	GameModeURF     GameMode = "URF"          // 无限火力
	GameModeCustom  GameMode = "PRACTICETOOL" // 自定义
	// 队列模式
	GameQueueTypeNormal   GameQueueType = "NORMAL"            // 匹配
	GameQueueTypeRankSolo GameQueueType = "RANKED_SOLO_5x5"   // 单双排
	GameQueueTypeRankFlex GameQueueType = "RANKED_FLEX_SR"    // 组排
	GameQueueTypeARAM     GameQueueType = "ARAM_UNRANKED_5x5" // 大乱斗5v5
	GameQueueTypeURF      GameQueueType = "URF"               // 无限火力
	GameQueueTypeBOT      GameQueueType = "BOT"               // 人机
	GameQueueTypeCustom   GameQueueType = "PRACTICETOOL"      // 自定义
	// 游戏状态
	GameStatusInQueue        GameStatus = "inQueue"                   // 队列中
	GameStatusInGame         GameStatus = "inGame"                    // 游戏中
	GameStatusChampionSelect GameStatus = "championSelect"            // 英雄选择中
	GameStatusOutOfGame      GameStatus = "outOfGame"                 // 退出游戏中
	GameStatusHostNormal     GameStatus = "hosting_NORMAL"            // 匹配组队中-队长
	GameStatusHostRankSolo   GameStatus = "hosting_RANKED_SOLO_5x5"   // 单排组队中-队长
	GameStatusHostRankFlex   GameStatus = "hosting_RANKED_FLEX_SR"    // 组排组队中-队长
	GameStatusHostARAM       GameStatus = "hosting_ARAM_UNRANKED_5x5" // 大乱斗5v5组队中-队长
	GameStatusHostURF        GameStatus = "hosting_URF"               // 无限火力组队中-队长
	GameStatusHostBOT        GameStatus = "hosting_BOT"               // 人机组队中-队长
	GameFlowChampionSelect   GameFlow   = "ChampSelect"               // 英雄选择中
	GameFlowReadyCheck       GameFlow   = "ReadyCheck"                // 等待接受对局
	GameFlowInProgress       GameFlow   = "InProgress"                // 进行中
	GameFlowMatchmaking      GameFlow   = "Matchmaking"               // 匹配中
	GameFlowNone             GameFlow   = "None"                      // 无
	// 排位等级
	RankTierIron        RankTier = "IRON"        // 黑铁
	RankTierBronze      RankTier = "BRONZE"      // 青铜
	RankTierSilver      RankTier = "SILVER"      // 白银
	RankTierGold        RankTier = "GOLD"        // 黄金
	RankTierPlatinum    RankTier = "PLATINUM"    // 白金
	RankTierDiamond     RankTier = "DIAMOND"     // 钻石
	RankTierMaster      RankTier = "MASTER"      // 大师
	RankTierGrandMaster RankTier = "GRANDMASTER" // 宗师
	RankTierChallenger  RankTier = "CHALLENGER"  // 王者
	//  游戏类型
	GameTypeMatch GameType = "MATCHED_GAME" // 匹配
)
View Source
const (
	// 游戏队列id
	NormalQueueID    GameQueueID = 430 // 匹配
	RankSoleQueueID  GameQueueID = 420 // 单排
	RankFlexQueueID  GameQueueID = 440 // 组排
	ARAMQueueID      GameQueueID = 450 // 大乱斗
	URFQueueID       GameQueueID = 900 // 无限火力
	BOTSimpleQueueID GameQueueID = 830 // 人机入门
	BOTNoviceQueueID GameQueueID = 840 // 人机新手
	BOTNormalQueueID GameQueueID = 850 // 人机一般

	// 地图id
	MapIDClassic MapID = 11 // 经典模式召唤师峡谷
	MapIDARAM    MapID = 12 // 极地大乱斗
	// 队伍id
	TeamIDNone    TeamID    = 0     // 未知
	TeamIDBlue    TeamID    = 100   // 蓝色方
	TeamIDRed     TeamID    = 200   // 红色方
	TeamIDStrNone TeamIDStr = ""    // 未知
	TeamIDStrBlue TeamIDStr = "100" // 蓝色方
	TeamIDStrRed  TeamIDStr = "200" // 红色方
	// 大区id
	PlatformIDDX1 = "HN1" // 艾欧尼亚
	PlatformIDDX2 = "HN2" // 祖安
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Champion

type Champion int // 英雄

type ChampionRole

type ChampionRole string // 英雄角色
const (
	ChampionRoleSolo    ChampionRole = "SOLE"        // 单人路
	ChampionRoleSupport ChampionRole = "DUO_SUPPORT" // 辅助
	ChampionRoleADC     ChampionRole = "DUO_CARRY"   // adc
	ChampionRoleNone    ChampionRole = "NONE"        // 无 一般是打野
)

英雄角色

type GameFlow

type GameFlow string // 游戏状态

type GameMode

type GameMode string // 游戏模式

type GameQueueID

type GameQueueID int // 游戏队列模式id

type GameQueueType

type GameQueueType string // 游戏队列模式

type GameStatus

type GameStatus string // 游戏状态

type GameType

type GameType string // 游戏类型

type Lane

type Lane string // 位置
const (
	LaneTop    Lane = "JUNGLE" // 上路
	LaneJungle Lane = "JUNGLE" // 打野
	LaneMiddle Lane = "MIDDLE" // 中路
	LaneBottom Lane = "BOTTOM" // 下路
)

位置

type MapID

type MapID int // 地图id

type RankTier

type RankTier string // 排位等级

type Spell

type Spell int // 召唤师技能
const (
	SpellPingZhang Spell = 21 // 屏障
	SpellShanXian  Spell = 4  // 闪现
)

召唤师技能

type TeamID

type TeamID int // 队伍id

type TeamIDStr

type TeamIDStr string // 队伍id

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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