module Shatter::Packet

Defined in:

shatter/packet.cr
shatter/packet/handler.cr

Constant Summary

CB_STATE_MAP = {State::Login => Cb::Login, State::Play => Cb::Play, State::Status => Cb::Status}
PACKET_HANDLERS = Hash(Cb::Any, Array(HandlerProc)).new do |h, k| h[k] = [] of HandlerProc end
SILENT = Hash(Cb::Any, Bool).new

Macro Summary

Macro Detail

macro type_reader(alias_type, return_type, &block) #

[View source]