package
0.1.6
Repository: https://github.com/mettalk/goworld.git
Documentation: pkg.go.dev

# Functions

SendCallFilterClientProxies sends MT_CALL_FILTERED_CLIENTS message.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewGoWorldConnection creates a GoWorldConnection using network connection.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MT_CALL_ENTITY_METHOD is a message type for calling entity methods.
MT_CALL_ENTITY_METHOD_FROM_CLIENT is a message type for clients.
MT_CALL_ENTITY_METHOD_ON_CLIENT message type.
MT_CALL_FILTERED_CLIENTS message type: messages to be processed by GateService from Dispatcher, but not redirected to clients.
MT_CALL_NIL_SPACES message is used to call nil spaces on all games.
No description provided by the author
MT_CLEAR_CLIENTPROXY_FILTER_PROPS message type.
MT_CREATE_ENTITY_ON_CLIENT message type.
MT_CREATE_ENTITY_SOMEWHERE is a message type for creating entities.
MT_DESTROY_ENTITY_ON_CLIENT message type.
MT_GAME_LBC_INFO contains game load balacing info.
MT_GATE_SERVICE_MSG_TYPE_START is the first message types that should be handled by GateService.
MT_GATE_SERVICE_MSG_TYPE_STOP message type.
MT_HEARTBEAT_FROM_CLIENT is sent by client to notify the gate server that the client is alive.
MT_INVALID is the invalid message type.
MT_LOAD_ENTITY_SOMEWHERE is a message type loading entities.
Message types for migrating MT_MIGRATE_REQUEST is a message type for entity migrations.
MT_MIGRATE_REQUEST_ACK is a message type for entity migrations.
NOT USED ANYMORE.
MT_NOTIFY_CLIENT_CONNECTED is a message type for clients.
MT_NOTIFY_CLIENT_DISCONNECTED is a message type for clients.
MT_NOTIFY_CREATE_ENTITY is a message type for creating entities.
MT_NOTIFY_DESTROY_ENTITY is a message type for destroying entities.
MT_NOTIFY_GAME_CONNECTED is sent by dispatcher to game to notify new game connected.
MT_NOTIFY_GATE_DISCONNECTED is a message type to notify gate disconnected.
MT_NOTIFY_LIST_ATTR_APPEND_ON_CLIENT message type.
MT_NOTIFY_LIST_ATTR_CHANGE_ON_CLIENT message type.
MT_NOTIFY_LIST_ATTR_POP_ON_CLIENT message type.
MT_NOTIFY_MAP_ATTR_CHANGE_ON_CLIENT message type.
MT_NOTIFY_MAP_ATTR_CLEAR_ON_CLIENT message type.
MT_NOTIFY_MAP_ATTR_DEL_ON_CLIENT message type.
MT_QUERY_SPACE_GAMEID_FOR_MIGRATE is a message type for entity migrations.
Alias message types.
MT_REAL_MIGRATE is a message type for entity migrations.
MT_REDIRECT_TO_GATEPROXY_MSG_TYPE_START is the first message type that should be redirected to client proxy.
MT_REDIRECT_TO_GATEPROXY_MSG_TYPE_STOP message type.
MT_SET_CLIENT_CLIENTID message is sent to client to set its clientid.
MT_SET_CLIENTPROXY_FILTER_PROP message type.
MT_SET_GAME_ID is a message type for game.
MT_SET_GAME_ID_ACK is sent by dispatcher to game to ACK MT_SET_GAME_ID message.
MT_SET_GATE_ID is a message type for gate.
MT_SRVDIS_REGISTER is a message type for declaring services.
MT_START_FREEZE_GAME is a message type for hot swapping.
MT_START_FREEZE_GAME_ACK is a message type for hot swapping.
MT_SYNC_POSITION_YAW_FROM_CLIENT is a message type for clients.
MT_SYNC_POSITION_YAW_ON_CLIENTS message type.
Messages types that is sent directly between Gate & Client.
Messages types that is sent directly between Gate & Client.
MT_UNDECLARE_SERVICE is a message type for undeclaring services.
SYNC_INFO_SIZE_PER_ENTITY is the size of sync info per entity.
No description provided by the author

# Structs

EntitySyncInfo defines fields of entity sync info.
GameLBCInfo defines the info for game load balancing.
GoWorldConnection is the network protocol implementation of GoWorld components (dispatcher, gate, game).
No description provided by the author

# Type aliases

Operators for calling filtered clients.
MsgType is the type of message types.