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