22 lines
458 B
C#
Raw Normal View History

2021-05-10 14:30:38 +01:00
using UnityEngine;
2021-04-16 11:40:13 +01:00
2022-03-02 19:46:33 -08:00
namespace QSB.WorldSync;
public interface IWorldObject
{
2022-03-02 19:46:33 -08:00
int ObjectId { get; }
string Name { get; }
MonoBehaviour AttachedObject { get; }
2021-02-09 21:35:31 +00:00
2022-03-02 19:46:33 -08:00
void OnRemoval();
bool ShouldDisplayDebug();
string ReturnLabel();
void DisplayLines();
2022-01-21 14:56:45 -08:00
2022-03-02 19:46:33 -08:00
/// <summary>
/// called on the host to send over initial state messages
/// <para/>
/// world objects will be ready on both sides at this point
/// </summary>
void SendInitialState(uint to);
}