mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
22 lines
458 B
C#
22 lines
458 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
|
|
/// <para/>
|
|
/// world objects will be ready on both sides at this point
|
|
/// </summary>
|
|
void SendInitialState(uint to);
|
|
} |