Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PokemonUniverse/go-gameserver
/ functions
Functions
172 in github.com/PokemonUniverse/go-gameserver
⨍
Functions
172
◇
Types & classes
37
↓ 1 callers
Method
processPacket
(_packet pnet.IPacket)
server/ConnectionWrapper.go:94
↓ 1 callers
Function
processTilePoints
(_row TilePointRow, _tilePointTable *TilePointTable)
world/World.go:297
↓ 1 callers
Function
readConfiguration
()
main.go:68
↓ 1 callers
Function
startGameServer
()
main.go:106
↓ 1 callers
Function
waitForLoadComplete
Waits for all spawned process routines to finish This can take a while if there are alot of tiles
world/World.go:248
Function
AddPlayer
(_player interfaces.IPlayer)
game/Game.go:21
Method
AddPositions
(_from pos.Position, _to pos.Position)
data/netmsg/WalkMessage.go:54
Method
AddVisibleCreature
Methods for all creatures who need to see other creatures
data/models/Creature.go:106
Method
CanMove
()
data/models/Creature.go:63
Method
GetConfigurationItems
()
config/ServerConfigItems.go:29
Method
GetCreatureType
()
data/models/Creature.go:39
Method
GetCreatureType
Start ICreature
data/models/Player.go:41
Method
GetCreatureType
()
interfaces/ICreature.go:10
Method
GetDirection
()
data/models/Creature.go:59
Method
GetIdentifier
()
data/pokemon/Move.go:19
Method
GetLayer
()
world/TilePointTileLayer.go:15
Method
GetMapId
()
interfaces/ICreature.go:14
Method
GetName
()
data/models/Creature.go:35
Function
GetPlayerByUID
(_uid uint64)
game/Game.go:25
Function
GetPokemonById
(_id int64)
data/pokemon/Manager.go:61
Method
GetPosition
()
data/models/Creature.go:51
Function
GetTileBlockingFromInt
(_blocking int)
interfaces/enums.go:57
Function
GetTilePointLayer
(_mapId, _x, _y, _level int)
world/World.go:123
Method
GetVisibleCreatures
()
data/models/Creature.go:142
Method
GetVisibleCreatures
()
interfaces/ICreature.go:35
Function
GetVisibleCreaturesFromPosition
(_position position.Position)
world/World.go:206
Function
GetVisibleCreaturesInDirection
(_mapId, _x, _y, _level int, _direction uint16)
world/World.go:137
Method
KnowsVisibleCreature
(_creature interfaces.ICreature)
data/models/Creature.go:134
Method
KnowsVisibleCreature
(_creature ICreature)
interfaces/ICreature.go:34
Function
Listen
Start listening for new connections
server/GameServer.go:39
Function
Load
(_hood *hood.Hood)
data/pokemon/Manager.go:20
Method
LoadCharacterData
()
data/models/Creature.go:43
Method
LoadCharacterData
()
data/models/Player.go:45
Function
LoadWorldmap
(_hood *hood.Hood)
world/World.go:87
Function
NewCreatureAddMessage
(_creature interfaces.ICreature)
data/netmsg/CreatureAddMessage.go:13
Function
NewCreatureRemoveMessage
(_creature interfaces.ICreature)
data/netmsg/CreatureRemoveMessage.go:13
Function
NewPlayer
(_entity *entities.Player, _dbConn *hood.Hood)
data/models/Player.go:28
Function
NewSendTilesMessage
()
data/netmsg/SendTilesMessage.go:13
Function
NewServerConfigItems
()
config/ServerConfigItems.go:18
Function
NewTurnMessage
(_creature interfaces.ICreature)
data/netmsg/TurnMessage.go:14
Function
NewWalkMessage
(_creature interfaces.ICreature)
data/netmsg/WalkMessage.go:22
Method
OnCreatureAppear
(_creature interfaces.ICreature, _isLogin bool)
data/models/Creature.go:99
Method
OnCreatureAppear
(_creature ICreature, _isLogin bool)
interfaces/ICreature.go:28
Method
OnCreatureDisappear
(_creature interfaces.ICreature, _isLogout bool)
data/models/Creature.go:102
Method
OnCreatureDisappear
(_creature ICreature, _isLogout bool)
interfaces/ICreature.go:29
Method
OnCreatureMove
Methods for all moving creatures
data/models/Creature.go:90
Method
OnCreatureMove
(_creature interfaces.ICreature, _from position.Position, _to position.Position, _teleport bool)
data/models/Player.go:67
Function
OnCreatureTurn
(_creature interfaces.ICreature, _direction uint16)
game/Game.go:38
Method
OnCreatureTurn
(_creature interfaces.ICreature)
data/models/Creature.go:96
Method
OnCreatureTurn
(_creature interfaces.ICreature)
data/models/Player.go:103
Function
OnPlayerMove
(_player interfaces.IPlayer, _direction uint16)
game/Game.go:29
Function
PUSYS_TIME
()
interfaces/enums.go:17
Method
ReadPacket
(_packet pnet.IPacket)
data/netmsg/TurnMessage.go:27
Method
RemoveVisibleCreature
(_creature interfaces.ICreature)
data/models/Creature.go:121
Method
SetNetworkChans
Networking - Receive
data/models/Player.go:165
Method
SetPosition
(_position position.Position)
data/models/Creature.go:55
Method
Turn
(_direction uint16)
data/models/Creature.go:78
Method
Walk
(_from position.Position, _to position.Position, _teleported bool, _direction uint16)
data/models/Creature.go:67
Method
Walk
(_from position.Position, _to position.Position, _teleported bool, _direction uint16)
data/models/Player.go:53
Method
WritePacket
WritePacket write the needed object data to a Packet and returns it
data/netmsg/SendPlayerDataMessage.go:23
Method
WritePacket
WritePacket write the needed object data to a Packet and returns it
data/netmsg/CreatureAddMessage.go:23
Method
WritePacket
WritePacket write the needed object data to a Packet and returns it
data/netmsg/LoginMessage.go:54
Method
WritePacket
WritePacket write the needed object data to a Packet and returns it
data/netmsg/SendTilesMessage.go:27
Method
WritePacket
WritePacket write the needed object data to a Packet and returns it
data/netmsg/CreatureRemoveMessage.go:23
Method
WritePacket
WritePacket write the needed object data to a Packet and returns it
data/netmsg/TurnMessage.go:38
Function
clientConnection
Entrance method for new websocket connections
server/GameServer.go:52
Function
init
()
game/Game.go:17
Function
init
()
data/PlayerHelper.go:17
Function
init
()
data/pokemon/Manager.go:15
Function
init
()
world/World.go:58
Function
init
()
server/GameServer.go:29
Function
main
()
main.go:27
← previous
101–172 of 172, ranked by callers