mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-29 12:21:25 +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);
|
|
} |