Class InstrumentSystem
Inheritance
System.Object
InstrumentSystem
Assembly: Content.Server.dll
Syntax
public sealed class InstrumentSystem : SharedInstrumentSystem
Properties
|
Improve this Doc
View Source
MaxMidiBatchesDropped
Declaration
public int MaxMidiBatchesDropped { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
MaxMidiEventsPerBatch
Declaration
public int MaxMidiEventsPerBatch { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
MaxMidiEventsPerSecond
Declaration
public int MaxMidiEventsPerSecond { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
MaxMidiLaggedBatches
Declaration
public int MaxMidiLaggedBatches { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Methods
|
Improve this Doc
View Source
Clean(EntityUid, InstrumentComponent)
Declaration
public void Clean(EntityUid uid, InstrumentComponent instrument = null)
Parameters
|
Improve this Doc
View Source
GetBands(EntityUid)
Declaration
public (NetEntity, string)[] GetBands(EntityUid uid)
Parameters
| Type |
Name |
Description |
| EntityUid |
uid |
|
Returns
| Type |
Description |
| System.ValueTuple<NetEntity, System.String>[] |
|
|
Improve this Doc
View Source
Initialize()
Declaration
public override void Initialize()
|
Improve this Doc
View Source
ResolveInstrument(EntityUid, ref SharedInstrumentComponent)
Declaration
public override bool ResolveInstrument(EntityUid uid, ref SharedInstrumentComponent component)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Shutdown()
Declaration
public override void Shutdown()
|
Improve this Doc
View Source
ToggleInstrumentUi(EntityUid, IPlayerSession, InstrumentComponent)
Declaration
public void ToggleInstrumentUi(EntityUid uid, IPlayerSession session, InstrumentComponent component = null)
Parameters
| Type |
Name |
Description |
| EntityUid |
uid |
|
| Robust.Server.Player.IPlayerSession |
session |
|
| InstrumentComponent |
component |
|
|
Improve this Doc
View Source
Update(Single)
Declaration
public override void Update(float frameTime)
Parameters
| Type |
Name |
Description |
| System.Single |
frameTime |
|