mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-09 13:13:42 +00:00
doc
This commit is contained in:
parent
1a73b09b87
commit
4c7ef91704
@ -1,6 +1,5 @@
|
||||
using QSB.Animation.NPC.WorldObjects;
|
||||
using QSB.Messaging;
|
||||
using QSB.WorldSync;
|
||||
|
||||
namespace QSB.Animation.NPC.Messages
|
||||
{
|
||||
@ -10,8 +9,6 @@ namespace QSB.Animation.NPC.Messages
|
||||
|
||||
public NpcAnimationMessage() { }
|
||||
|
||||
public override bool ShouldReceive => WorldObjectManager.AllObjectsReady;
|
||||
|
||||
public override void OnReceiveRemote()
|
||||
{
|
||||
if (Value)
|
||||
|
@ -11,7 +11,7 @@ namespace QSB.Messaging
|
||||
/// </summary>
|
||||
internal int ObjectId;
|
||||
/// <summary>
|
||||
/// set automatically when receiving
|
||||
/// set automatically by ShouldReceive
|
||||
/// </summary>
|
||||
protected T WorldObject { get; private set; }
|
||||
|
||||
@ -27,9 +27,6 @@ namespace QSB.Messaging
|
||||
ObjectId = reader.ReadInt32();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// sets WorldObject using ObjectId
|
||||
/// </summary>
|
||||
public override bool ShouldReceive
|
||||
{
|
||||
get
|
||||
|
Loading…
x
Reference in New Issue
Block a user