Content update for NetEntities (#18935)
This commit is contained in:
@@ -42,9 +42,9 @@ public abstract partial class SharedInstrumentComponent : Component
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class InstrumentStopMidiEvent : EntityEventArgs
|
||||
{
|
||||
public EntityUid Uid { get; }
|
||||
public NetEntity Uid { get; }
|
||||
|
||||
public InstrumentStopMidiEvent(EntityUid uid)
|
||||
public InstrumentStopMidiEvent(NetEntity uid)
|
||||
{
|
||||
Uid = uid;
|
||||
}
|
||||
@@ -56,10 +56,10 @@ public sealed class InstrumentStopMidiEvent : EntityEventArgs
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class InstrumentSetMasterEvent : EntityEventArgs
|
||||
{
|
||||
public EntityUid Uid { get; }
|
||||
public EntityUid? Master { get; }
|
||||
public NetEntity Uid { get; }
|
||||
public NetEntity? Master { get; }
|
||||
|
||||
public InstrumentSetMasterEvent(EntityUid uid, EntityUid? master)
|
||||
public InstrumentSetMasterEvent(NetEntity uid, NetEntity? master)
|
||||
{
|
||||
Uid = uid;
|
||||
Master = master;
|
||||
@@ -72,11 +72,11 @@ public sealed class InstrumentSetMasterEvent : EntityEventArgs
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class InstrumentSetFilteredChannelEvent : EntityEventArgs
|
||||
{
|
||||
public EntityUid Uid { get; }
|
||||
public NetEntity Uid { get; }
|
||||
public int Channel { get; }
|
||||
public bool Value { get; }
|
||||
|
||||
public InstrumentSetFilteredChannelEvent(EntityUid uid, int channel, bool value)
|
||||
public InstrumentSetFilteredChannelEvent(NetEntity uid, int channel, bool value)
|
||||
{
|
||||
Uid = uid;
|
||||
Channel = channel;
|
||||
@@ -90,9 +90,9 @@ public sealed class InstrumentSetFilteredChannelEvent : EntityEventArgs
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class InstrumentStartMidiEvent : EntityEventArgs
|
||||
{
|
||||
public EntityUid Uid { get; }
|
||||
public NetEntity Uid { get; }
|
||||
|
||||
public InstrumentStartMidiEvent(EntityUid uid)
|
||||
public InstrumentStartMidiEvent(NetEntity uid)
|
||||
{
|
||||
Uid = uid;
|
||||
}
|
||||
@@ -104,10 +104,10 @@ public sealed class InstrumentStartMidiEvent : EntityEventArgs
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class InstrumentMidiEventEvent : EntityEventArgs
|
||||
{
|
||||
public EntityUid Uid { get; }
|
||||
public NetEntity Uid { get; }
|
||||
public RobustMidiEvent[] MidiEvent { get; }
|
||||
|
||||
public InstrumentMidiEventEvent(EntityUid uid, RobustMidiEvent[] midiEvent)
|
||||
public InstrumentMidiEventEvent(NetEntity uid, RobustMidiEvent[] midiEvent)
|
||||
{
|
||||
Uid = uid;
|
||||
MidiEvent = midiEvent;
|
||||
|
||||
Reference in New Issue
Block a user