class Steamcr::Protocol::MsgProtobuf(T)

Defined in:

steamcr/base/message.cr

Constructors

Instance Method Summary

Instance methods inherited from class Steamcr::Protocol::MsgBase(Steamcr::MsgHdrProtoBuf)

header : H header, payload payload

Constructor methods inherited from class Steamcr::Protocol::MsgBase(Steamcr::MsgHdrProtoBuf)

new new

Instance methods inherited from class Steamcr::Protocol::ClientMsg

deserialize(data : Bytes) deserialize, proto? : Bool proto?, serialize : Bytes serialize, set_session_id(id : In32) set_session_id, set_steam_id(id : UInt64) set_steam_id

Constructor Detail

def self.new(packet : PacketMessage) #

[View source]
def self.new(emsg : EMsg) #

[View source]

Instance Method Detail

def body #

[View source]
def deserialize(data : Bytes) : T #

[View source]
def proto? : Bool #

[View source]
def serialize : Bytes #

[View source]
def set_session_id(id : Int32) #

[View source]
def set_steam_id(id : UInt64) #

[View source]