JohnCorby 9e5e7bb6a1 initial state:
- always send from the host
- QSBNetworkBehaviour will store last known data in an array and send that, since real data will be wrong if no authority
2022-02-16 19:22:21 -08:00

22 lines
401 B
C#

using UnityEngine;
namespace QSB.WorldSync
{
public interface IWorldObject
{
int ObjectId { get; }
string Name { get; }
MonoBehaviour AttachedObject { get; }
void OnRemoval();
bool ShouldDisplayDebug();
string ReturnLabel();
void DisplayLines();
/// <summary>
/// called on the host to send over initial state messages
/// </summary>
void SendInitialState(uint to);
}
}