mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-17 01:13:05 +00:00
make HostControls public and in interface
This commit is contained in:
parent
1168da8c69
commit
4800123ddb
@ -6,6 +6,7 @@ namespace QSB.QuantumSync.WorldObjects;
|
||||
|
||||
public interface IQSBQuantumObject : IWorldObject
|
||||
{
|
||||
bool HostControls { get; }
|
||||
uint ControllingPlayer { get; set; }
|
||||
bool IsEnabled { get; }
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
internal class QSBEyeProxyQuantumMoon : QSBQuantumObject<EyeProxyQuantumMoon>
|
||||
{
|
||||
protected override bool HostControls => true;
|
||||
public override bool HostControls => true;
|
||||
|
||||
public override void SendInitialState(uint to)
|
||||
{
|
||||
|
@ -7,7 +7,7 @@ namespace QSB.QuantumSync.WorldObjects;
|
||||
|
||||
internal class QSBQuantumMoon : QSBQuantumObject<QuantumMoon>
|
||||
{
|
||||
protected override bool HostControls => true;
|
||||
public override bool HostControls => true;
|
||||
|
||||
public override void SendInitialState(uint to)
|
||||
{
|
||||
|
@ -25,7 +25,7 @@ internal abstract class QSBQuantumObject<T> : WorldObject<T>, IQSBQuantumObject
|
||||
/// whether the controlling player is always the host <br/>
|
||||
/// also means this object is considered always enabled
|
||||
/// </summary>
|
||||
protected virtual bool HostControls => false;
|
||||
public virtual bool HostControls => false;
|
||||
public uint ControllingPlayer { get; set; }
|
||||
public bool IsEnabled { get; private set; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user