class

Steamcr::UdpHeader

Inherits Reference < Object

Constants

MAGIC = 825250646_u32

Constructors

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)
Source

Instance methods

deserialize(io : IO::Memory)
Source
dest_conn_id
Source
dest_conn_id=(dest_conn_id : UInt32)
Source
flags
Source
flags=(flags : UInt8)
Source
magic
Source
magic=(magic : UInt32)
Source
msg_size
Source
msg_size=(msg_size : UInt32)
Source
msg_start_seq
Source
msg_start_seq=(msg_start_seq : UInt32)
Source
packet_type
Source
packet_type=(packet_type : Steamcr::EUdpPacketType)
Source
packets_in_msg
Source
packets_in_msg=(packets_in_msg : UInt32)
Source
payload_size
Source
payload_size=(payload_size : UInt16)
Source
seq_ack
Source
seq_ack=(seq_ack : UInt32)
Source
seq_this
Source
seq_this=(seq_this : UInt32)
Source
serialize(io : IO::Memory)
Source
source_conn_id
Source
source_conn_id=(source_conn_id : UInt32)
Source