mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
document
This commit is contained in:
parent
f9c861e541
commit
69a56b9783
@ -88,7 +88,7 @@ public static class QSBWorldSync
|
||||
|
||||
if (!QSBCore.IsHost)
|
||||
{
|
||||
new WorldObjectsHashMessage(WorldObjectsHash).Send();
|
||||
new WorldObjectsHashMessage().Send();
|
||||
new RequestLinksMessage().Send();
|
||||
}
|
||||
|
||||
|
@ -5,9 +5,12 @@ using QSB.Utility;
|
||||
|
||||
namespace QSB.WorldSync;
|
||||
|
||||
/// <summary>
|
||||
/// sends QSBWorldSync.WorldObjectsHash to the server for sanity checking
|
||||
/// </summary>
|
||||
internal class WorldObjectsHashMessage : QSBMessage<int>
|
||||
{
|
||||
public WorldObjectsHashMessage(int hash) : base(hash) => To = 0;
|
||||
public WorldObjectsHashMessage() : base(QSBWorldSync.WorldObjectsHash) => To = 0;
|
||||
|
||||
public override void OnReceiveRemote()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user