mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-10 07:14:27 +00:00
format
This commit is contained in:
parent
5fd8cfe20c
commit
a0691fb825
@ -118,7 +118,7 @@ namespace QSB.MeteorSync.Messages
|
||||
else if (!IsThruWhiteHole && qsbFragment.IsThruWhiteHole)
|
||||
{
|
||||
// should only happen if client is way too far ahead and they try to connect. we fail here.
|
||||
DebugLog.ToConsole($"{qsbFragment.ToString()} is thru white hole, but msg is not. fuck", MessageType.Error);
|
||||
DebugLog.ToConsole($"{qsbFragment} is thru white hole, but msg is not. fuck", MessageType.Error);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -140,7 +140,7 @@ namespace QSB.MeteorSync.Messages
|
||||
else if (!IsDetached && qsbFragment.IsDetached)
|
||||
{
|
||||
// should only happen if client is way too far ahead and they try to connect. we fail here.
|
||||
DebugLog.ToConsole($"{qsbFragment.ToString()} is detached, but msg is not. fuck", MessageType.Error);
|
||||
DebugLog.ToConsole($"{qsbFragment} is detached, but msg is not. fuck", MessageType.Error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -225,7 +225,7 @@ namespace QSB.MeteorSync.Patches
|
||||
}
|
||||
else
|
||||
{
|
||||
DebugLog.ToConsole($"{qsbMeteorLauncher.ToString()} - could not find meteor {qsbMeteorLauncher.MeteorId} in pool", MessageType.Warning);
|
||||
DebugLog.ToConsole($"{qsbMeteorLauncher} - could not find meteor {qsbMeteorLauncher.MeteorId} in pool", MessageType.Warning);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
@ -293,7 +293,7 @@ namespace QSB
|
||||
{
|
||||
if (qsbOrb.TransformSync == null)
|
||||
{
|
||||
DebugLog.ToConsole($"{qsbOrb.ToString()} TransformSync == null??????????", MessageType.Warning);
|
||||
DebugLog.ToConsole($"{qsbOrb} TransformSync == null??????????", MessageType.Warning);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,7 @@ namespace QSB.QuantumSync.WorldObjects
|
||||
}
|
||||
|
||||
public override string ReturnLabel()
|
||||
=> $"{ToString()}{Environment.NewLine}StateIndex:{AttachedObject._stateIndex}";
|
||||
=> $"{this}{Environment.NewLine}StateIndex:{AttachedObject._stateIndex}";
|
||||
|
||||
public void ChangeState(int newStateIndex)
|
||||
{
|
||||
|
@ -109,7 +109,7 @@ namespace QSB.QuantumSync.WorldObjects
|
||||
{
|
||||
if (tracker == null)
|
||||
{
|
||||
DebugLog.ToConsole($"Warning - a ShapeVisibilityTracker in {ToString()} is null!", MessageType.Warning);
|
||||
DebugLog.ToConsole($"Warning - a ShapeVisibilityTracker in {this} is null!", MessageType.Warning);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -21,11 +21,11 @@ namespace QSB.QuantumSync.WorldObjects
|
||||
if (socket != null)
|
||||
{
|
||||
var socketObj = socket.GetWorldObject<QSBQuantumSocket>();
|
||||
return $"{ToString()}{Environment.NewLine}SocketId:{socketObj.ObjectId}";
|
||||
return $"{this}{Environment.NewLine}SocketId:{socketObj.ObjectId}";
|
||||
}
|
||||
else
|
||||
{
|
||||
return $"{ToString()}{Environment.NewLine}SocketId:NULL";
|
||||
return $"{this}{Environment.NewLine}SocketId:NULL";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -81,7 +81,7 @@ namespace QSB.Syncs
|
||||
|
||||
if (!AttachedTransform)
|
||||
{
|
||||
DebugLog.ToConsole($"Error - AttachedObject {ToString()} is null!", MessageType.Error);
|
||||
DebugLog.ToConsole($"Error - AttachedObject {this} is null!", MessageType.Error);
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -92,7 +92,7 @@ namespace QSB.Syncs
|
||||
|
||||
if (!AllowNullReferenceTransform && !ReferenceTransform)
|
||||
{
|
||||
DebugLog.ToConsole($"Warning - {ToString()}'s ReferenceTransform is null.", MessageType.Warning);
|
||||
DebugLog.ToConsole($"Warning - {this}'s ReferenceTransform is null.", MessageType.Warning);
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -214,7 +214,7 @@ namespace QSB.Syncs
|
||||
|
||||
if (ReferenceTransform && ReferenceTransform.position == Vector3.zero)
|
||||
{
|
||||
DebugLog.ToConsole($"Warning - {ToString()}'s ReferenceTransform is at (0,0,0). ReferenceTransform:{ReferenceTransform.name}, AttachedObject:{AttachedTransform.name}", MessageType.Warning);
|
||||
DebugLog.ToConsole($"Warning - {this}'s ReferenceTransform is at (0,0,0). ReferenceTransform:{ReferenceTransform.name}", MessageType.Warning);
|
||||
}
|
||||
|
||||
if (!hasAuthority && UseInterpolation)
|
||||
|
Loading…
x
Reference in New Issue
Block a user