mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-29 12:21:25 +00:00
24 lines
689 B
C#
24 lines
689 B
C#
using QSB.Player;
|
|
using QSB.WorldSync;
|
|
using System.Collections.Generic;
|
|
|
|
namespace QSB.QuantumSync.WorldObjects;
|
|
|
|
public interface IQSBQuantumObject : IWorldObject
|
|
{
|
|
/// <summary>
|
|
/// whether the controlling player is always the host <br/>
|
|
/// also means this object is considered always enabled
|
|
/// </summary>
|
|
bool HostControls { get; }
|
|
uint ControllingPlayer { get; set; }
|
|
bool IsEnabled { get; }
|
|
|
|
List<Shape> GetAttachedShapes();
|
|
|
|
void SetIsQuantum(bool isQuantum);
|
|
VisibilityObject GetVisibilityObject();
|
|
void OnTakeProbeSnapshot(PlayerInfo player, ProbeCamera.ID cameraId);
|
|
void OnRemoveProbeSnapshot(PlayerInfo player);
|
|
List<PlayerInfo> GetVisibleToProbePlayers();
|
|
} |