class Steamcr::UdpHeader

Defined in:

steamd/netheader.cr

Constant Summary

MAGIC = 825250646_u32

Constructors

Instance Method Summary

Constructor Detail

def self.new(payload_size : UInt16, flags : UInt8, dest_conn_id : UInt32, seq_this : UInt32, seq_ack : UInt32, packets_in_msg : UInt32, msg_start_seq : UInt32, msg_size : UInt32) #

[View source]

Instance Method Detail

def deserialize(io : IO::Memory) #

[View source]
def dest_conn_id : UInt32 #

[View source]
def dest_conn_id=(dest_conn_id : UInt32) #

[View source]
def flags : UInt8 #

[View source]
def flags=(flags : UInt8) #

[View source]
def magic : UInt32 #

[View source]
def magic=(magic : UInt32) #

[View source]
def msg_size : UInt32 #

[View source]
def msg_size=(msg_size : UInt32) #

[View source]
def msg_start_seq : UInt32 #

[View source]
def msg_start_seq=(msg_start_seq : UInt32) #

[View source]
def packet_type : Steamcr::EUdpPacketType #

[View source]
def packet_type=(packet_type : Steamcr::EUdpPacketType) #

[View source]
def packets_in_msg : UInt32 #

[View source]
def packets_in_msg=(packets_in_msg : UInt32) #

[View source]
def payload_size : UInt16 #

[View source]
def payload_size=(payload_size : UInt16) #

[View source]
def seq_ack : UInt32 #

[View source]
def seq_ack=(seq_ack : UInt32) #

[View source]
def seq_this : UInt32 #

[View source]
def seq_this=(seq_this : UInt32) #

[View source]
def serialize(io : IO::Memory) #

[View source]
def source_conn_id : UInt32 #

[View source]
def source_conn_id=(source_conn_id : UInt32) #

[View source]