MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / playerAtIndex

Method playerAtIndex

server/player/playerlist.go:46–48  ·  view source on GitHub ↗
(index uintptr)

Source from the content-addressed store, hash-verified

44}
45
46func (list *PlayerList) playerAtIndex(index uintptr) *Player {
47 return *(**Player)(list.playerList.Element(index))
48}
49
50func (list *PlayerList) AddPlayer(player *Player) {
51 list.addPlayerToSlice(player)

Callers 3

PlayerMethod · 0.95
PlayerByUsernameMethod · 0.95
AddPlayerMethod · 0.95

Calls 1

ElementMethod · 0.80

Tested by

no test coverage detected