struct Lapis::Multiplayer::PacketInfo

Overview

Records transmission metadata for an inspected network packet

Defined in:

libgodot/multiplayer/harness.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(timestamp_ms : Float64, sender_id : Int32, receiver_id : Int32, channel : Int32, transfer_mode : String, method_name : String, payload_bytes : Int32) #

Instance Method Detail

def channel : Int32 #

def method_name : String #

def payload_bytes : Int32 #

def receiver_id : Int32 #

def reliable? : Bool #

def sender_id : Int32 #

def timestamp_ms : Float64 #

def to_s(io : IO) : Nil #
Description copied from struct Struct

Same as #inspect(io).


def transfer_mode : String #

def unreliable? : Bool #