mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-14 15:40:20 +00:00
debuglog
This commit is contained in:
parent
6791e3109d
commit
0e20b2115c
@ -1,5 +1,6 @@
|
|||||||
using QSB.Messaging;
|
using QSB.Messaging;
|
||||||
using QSB.Player.TransformSync;
|
using QSB.Player.TransformSync;
|
||||||
|
using QSB.Utility;
|
||||||
using QSB.WorldSync;
|
using QSB.WorldSync;
|
||||||
using QuantumUNET.Transport;
|
using QuantumUNET.Transport;
|
||||||
using System;
|
using System;
|
||||||
@ -28,6 +29,8 @@ namespace QSB.EyeOfTheUniverse.EyeStateSync.Messages
|
|||||||
{
|
{
|
||||||
_offDuration = offDuration;
|
_offDuration = offDuration;
|
||||||
_onDuration = onDuration;
|
_onDuration = onDuration;
|
||||||
|
|
||||||
|
DebugLog.DebugWrite($"LOCAL flicker {offDuration} {onDuration}");
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Serialize(QNetworkWriter writer)
|
public override void Serialize(QNetworkWriter writer)
|
||||||
@ -48,6 +51,8 @@ namespace QSB.EyeOfTheUniverse.EyeStateSync.Messages
|
|||||||
|
|
||||||
public override void OnReceiveRemote()
|
public override void OnReceiveRemote()
|
||||||
{
|
{
|
||||||
|
DebugLog.DebugWrite($"REMOTE flicker from {From} {_offDuration} {_onDuration}");
|
||||||
|
|
||||||
// manually fire callbacks
|
// manually fire callbacks
|
||||||
var eventTable = GlobalMessenger<float, float>.eventTable;
|
var eventTable = GlobalMessenger<float, float>.eventTable;
|
||||||
lock (eventTable)
|
lock (eventTable)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user