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

Function NewPlayerList

server/player/playerlist.go:10–14  ·  view source on GitHub ↗
(cap uintptr)

Source from the content-addressed store, hash-verified

8)
9
10func NewPlayerList(cap uintptr) PlayerList {
11 return PlayerList{
12 playerList: atomic.Make(0, cap, atomic.Pointer),
13 }
14}
15
16type PlayerList struct {
17 playerList atomic.Slice

Callers 1

NewFunction · 0.92

Calls 1

MakeFunction · 0.92

Tested by

no test coverage detected