Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KeJunMao/open-block-war
/ functions
Functions
214 in github.com/KeJunMao/open-block-war
⨍
Functions
214
◇
Types & classes
88
↓ 17 callers
Function
e2
(e3, t2)
src/venders/danmaku-websocket.min.js:102
↓ 14 callers
Method
send
(data: Buffer)
src/Live/Douyu/douyu-live-ws/ws.ts:38
↓ 11 callers
Method
emit
(eventName: string | symbol, ...params: any[])
src/Live/Douyu/douyu-live-ws/common.ts:6
↓ 11 callers
Method
showMessage
(message: string | ((toast: Toast) => void))
src/Components/MessageToast.ts:9
↓ 8 callers
Method
Apply
(entry: IParseEntryData)
src/Live/Bilibili/Entry.ts:5
↓ 7 callers
Method
Apply
(gift: IParseGiftData)
src/Live/Gift.ts:7
↓ 7 callers
Method
setFace
(faceKey: string)
src/Components/Player.ts:146
↓ 6 callers
Method
close
(code?: number, data?: string)
src/Live/Douyu/douyu-live-ws/ws.ts:53
↓ 6 callers
Method
setSpeed
(speed: number)
src/Components/Player.ts:140
↓ 5 callers
Function
colorToString
(color: number, defaultColor: string = "#ffffff")
src/paid/theme/index.ts:332
↓ 5 callers
Method
makeChild
(count = 1)
src/Components/Npc.ts:35
↓ 5 callers
Method
setTeam
(team: Team)
src/Components/Npc.ts:54
↓ 5 callers
Method
speedUp
(count = 1)
src/Components/Player.ts:61
↓ 4 callers
Function
formatNumber
(num: number)
src/utils/formatNumber.ts:1
↓ 4 callers
Function
i2
(e3, t3)
src/venders/danmaku-websocket.min.js:679
↓ 4 callers
Function
t
(i)
src/venders/danmaku-websocket.min.js:22
↓ 4 callers
Method
tp
()
src/Components/User.ts:65
↓ 3 callers
Method
ApplyLaTiao
(user: User, num: number)
src/Live/Gift.ts:80
↓ 3 callers
Method
GetUserById
(id: number)
src/Components/Team.ts:80
↓ 3 callers
Method
getLiveIdPaidConfig
(liveId: number)
src/paid/index.ts:54
↓ 3 callers
Function
i
(e2, t2)
src/venders/danmaku-websocket.min.js:93
↓ 3 callers
Method
makeUser
(id: number, name: string, face?: string)
src/Components/Team.ts:64
↓ 3 callers
Function
r
(s2, u)
src/venders/danmaku-websocket.min.js:585
↓ 3 callers
Function
stopRunCode
(msg = "stopRunCode")
src/Live/Danmu.ts:7
↓ 3 callers
Method
update
(time: number)
src/Components/GameTime.ts:26
↓ 2 callers
Method
GetMinPlayerTeam
()
src/Components/Team.ts:86
↓ 2 callers
Method
_setIsHome
()
src/Components/Block.ts:55
↓ 2 callers
Method
_setTeam
(team: Team)
src/Components/Block.ts:121
↓ 2 callers
Function
a
(e3)
src/venders/danmaku-websocket.min.js:1063
↓ 2 callers
Method
addCollider
()
src/Components/Slaves.ts:25
↓ 2 callers
Method
concat
(..._args: any)
src/Live/Douyu/douyu-live-ws/packet.ts:14
↓ 2 callers
Method
connect
(reconnect = true)
src/Live/Douyu/douyu-live-ws/ws.ts:109
↓ 2 callers
Method
create
()
src/Scenes/MainScene.ts:9
↓ 2 callers
Method
createOrUpdateLine
()
src/Components/Player.ts:109
↓ 2 callers
Method
disconnect
()
src/Live/Douyu/douyu-live-ws/ClientEvent.ts:16
↓ 2 callers
Method
draw
(user: User, isGold = false)
src/Card/Controller.ts:22
↓ 2 callers
Method
escape
(v: string)
src/Live/Douyu/douyu-live-ws/stt.ts:2
↓ 2 callers
Function
handleClose
()
src/UI/Components/LeftSlider/Teams.tsx:58
↓ 2 callers
Method
hasJoinKeyword
(text: string)
src/Components/Team.ts:98
↓ 2 callers
Function
httpGet
(url: string)
api/proxy/ajax.ts:19
↓ 2 callers
Method
initHomeBlock
()
src/Components/Team.ts:52
↓ 2 callers
Function
l
(e3, t3, n3, i3)
src/venders/danmaku-websocket.min.js:1116
↓ 2 callers
Method
obedience
(team: Team)
src/Components/User.ts:55
↓ 2 callers
Method
onGameOver
(team: Team)
src/Game/Core.ts:136
↓ 2 callers
Method
reset
()
src/Components/Slaves.ts:75
↓ 2 callers
Function
s
(e3, t3)
src/venders/danmaku-websocket.min.js:1070
↓ 2 callers
Function
save
()
src/UI/Components/Config/index.tsx:39
↓ 2 callers
Function
save
()
src/UI/Components/LeftSlider/Teams.tsx:63
↓ 2 callers
Method
sendGift
(gift: IParseGiftData)
src/Game/GoldKey.ts:13
↓ 2 callers
Method
setBodySize
(size: number)
src/Components/Player.ts:79
↓ 2 callers
Method
setDie
()
src/Components/Npc.ts:60
↓ 2 callers
Method
setTeam
(team: Team)
src/Components/User.ts:45
↓ 2 callers
Method
setTeam
(team: Team)
src/Components/Player.ts:162
↓ 2 callers
Method
update
()
src/Game/Core.ts:152
↓ 1 callers
Method
ApplyDaCall
(user: User, num: number)
src/Live/Gift.ts:71
↓ 1 callers
Method
ApplyDraw
(danmu: IParseDanmuData, user: User)
src/Live/Danmu.ts:80
↓ 1 callers
Method
ApplyFlower
(user: User, num: number)
src/Live/Gift.ts:67
↓ 1 callers
Method
ApplyGift
(user: User, gift: IParseGiftData)
src/Live/Gift.ts:44
↓ 1 callers
Method
ApplyIleIle
(user: User, num: number)
src/Live/Gift.ts:90
↓ 1 callers
Method
ApplyNiu
(user: User, num: number)
src/Live/Gift.ts:85
↓ 1 callers
Method
ApplyObedience
(danmu: IParseDanmuData, user: User)
src/Live/Danmu.ts:34
↓ 1 callers
Method
ApplyPowerUp
(danmu: IParseDanmuData, user: User)
src/Live/Danmu.ts:57
↓ 1 callers
Method
ApplyTp
(danmu: IParseDanmuData, user: User)
src/Live/Danmu.ts:49
↓ 1 callers
Method
Decode
(buf: any, callback: any)
src/Live/Douyu/douyu-live-ws/packet.ts:45
↓ 1 callers
Method
Encode
(data: any)
src/Live/Douyu/douyu-live-ws/packet.ts:27
↓ 1 callers
Method
GetOtherTeams
(team: Team)
src/Components/Team.ts:94
↓ 1 callers
Function
__commonJS
(cb,mod)
src/venders/danmaku-websocket.min.js:2
↓ 1 callers
Function
any
(promises: any)
api/routes.ts:14
↓ 1 callers
Function
applyLocalConfig
(state)
src/store/configSlice.ts:119
↓ 1 callers
Method
asyncTeamsToStore
()
src/Game/Core.ts:102
↓ 1 callers
Function
c
(e3)
src/venders/danmaku-websocket.min.js:1088
↓ 1 callers
Method
checkGameOver
()
src/Game/Core.ts:120
↓ 1 callers
Method
checkGameOverByTime
()
src/Game/Core.ts:127
↓ 1 callers
Method
checkLiveIdHasTheme
(liveId: number, theme: string)
src/paid/index.ts:57
↓ 1 callers
Method
clearUp
()
src/Game/Core.ts:37
↓ 1 callers
Function
createSocket
* 创建socket长连接 * @param authBody * @param wssLinks
src/Live/Bilibili/socket/index.ts:11
↓ 1 callers
Method
deserialize
(raw: string)
src/Live/Douyu/douyu-live-ws/stt.ts:22
↓ 1 callers
Function
destroySocket
* 销毁websocket
src/Live/Bilibili/socket/index.ts:68
↓ 1 callers
Method
getBlock
(x: number, y: number)
src/Components/Map.ts:24
↓ 1 callers
Method
getCardConfigs
(team: string, ignoreTeam?: boolean)
src/Card/Controller.ts:96
↓ 1 callers
Method
getCardsByLevel
(configs: CardConfig[], level: LevelType)
src/Card/Controller.ts:59
↓ 1 callers
Function
getFaceByBilibili
(id: string)
api/proxy/getBilibiliFace.ts:5
↓ 1 callers
Function
getFaceByBilibili2
(id: string)
api/proxy/getBilibiliFace.ts:15
↓ 1 callers
Function
getFaceByTenApi
(id: string)
api/proxy/getBilibiliFace.ts:25
↓ 1 callers
Function
getMd5Content
(str)
api/proxy/bilibiliServer/tool/index.ts:45
↓ 1 callers
Method
getRandomCard
(configs: CardConfig[])
src/Card/Controller.ts:55
↓ 1 callers
Method
getRandomLevel
(isGold = false)
src/Card/Controller.ts:64
↓ 1 callers
Function
getThemeConfig
(theme: string)
src/paid/theme/index.ts:328
↓ 1 callers
Method
getThemeConfig
(theme: string)
src/paid/index.ts:61
↓ 1 callers
Function
getWebSocketConfig
* 获取websocket配置信息 * @param authBody * @param wssLinks
src/Live/Bilibili/socket/index.ts:40
↓ 1 callers
Method
goldDraw
(user: User)
src/Card/Controller.ts:92
↓ 1 callers
Method
handle
(data: ArrayBuffer)
src/Live/Douyu/douyu-live-ws/MessageEvent.ts:299
↓ 1 callers
Method
heartbeat
()
src/Live/Douyu/douyu-live-ws/ClientEvent.ts:39
↓ 1 callers
Method
init
()
src/Components/Farms.ts:19
↓ 1 callers
Method
init
(scene: Phaser.Scene)
src/Game/Core.ts:41
↓ 1 callers
Method
initFarms
()
src/Components/Team.ts:60
↓ 1 callers
Method
initUser
()
src/Game/GoldKey.ts:17
↓ 1 callers
Method
initWorker
()
src/Components/GameTime.ts:15
↓ 1 callers
Method
joinGroup
()
src/Live/Douyu/douyu-live-ws/ClientEvent.ts:32
↓ 1 callers
Method
load
()
src/Components/User.ts:23
next →
1–100 of 214, ranked by callers