public SteamP2PPacketComposer(BaseSteamP2P clientWorker, NetworkingPlayer player, FrameStream frame, bool reliable = false) { #if DEEP_LOGGING Logging.BMSLog.Log("---------------------------\n" + (new System.Diagnostics.StackTrace()).ToString() + "\nUNIQUE ID: " + frame.UniqueId.ToString() + "\n---------------------------"); #endif Init(clientWorker, player, frame, reliable); }
public void Init(BaseSteamP2P clientWorker, NetworkingPlayer player, FrameStream frame, bool reliable = false) { ClientWorker = clientWorker; Player = player; Frame = frame; Reliable = reliable; Initialize(); }