CandideServer.Entities.Controllers.ServerInstrumentController
Type JSONpublic class in CandideServer.Entities.Controllers
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.Controllers - Base type
CandideServer.Entities.Controllers.ServerFurnitureController - Hash
23F360EA4214A962D5CE3B14134854AD34CAB2B1EEC10265921AEBEE638238B4
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
TimerLength# | public | public System.Single TimerLength |
_instrumentType# | private | private CandideServer.Entities.Controllers.InstrumentType _instrumentType |
_note# | private | private System.Int32 _note |
_resetTimer# | private | private System.Single _resetTimer |
Methods
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
CD3922A214BED25C015B27D99574FE8BA2A4C38CD6397131D2CE4252F962FDA5 - Body hash
96DA9FF744F91A02EB15F8A09BDF0CF7A9DEB7AA7FFE10E57CBAC3E8589E2994 - IL size24
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetEnum(System.String, !!0)
String literals
instrument
GetDrumPitch
#
public System.Single GetDrumPitch(System.Int32 note)
Method metadata
- Visibilitypublic
- Return type
System.Single - StaticTrue
- VirtualFalse
- Hash
2D0B9A466CFD41FE5D4D1DB2C723DCA28A82D89A4CB94002E9C96850023ECD6C - Body hash
32D49C7CAB1C8B871AD94AF3B5343DD44F1D05CC9715550CB9D07AC53C2B3C84 - IL size31
GetLyrePitch
#
public System.Single GetLyrePitch(System.Int32 note)
Method metadata
- Visibilitypublic
- Return type
System.Single - StaticTrue
- VirtualFalse
- Hash
94D3D38FD07583B07A661D9AA290B6EB2E51B0A0E1BDCD44B6F30ED989E1F662 - Body hash
838EF9EAB2CA059CAA30B1232F2B5029A3CEF7DFD4687AD483DF6753594D3B28 - IL size27
Referenced calls
System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(System.Array, System.RuntimeFieldHandle)
OnInteract
#
public System.Void OnInteract(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
F010AEED2A5CB651E5F312DD3792FC2AD29BB598418514AE50130C7061C4CE98 - Body hash
6CABF00CF07B72614C5C5D93A8747137A3E81E58DE4742144B2C2F2DBA79D399 - IL size218
Referenced calls
CandideServer.Entities.Controllers.ServerInstrumentController::GetDrumPitch(System.Int32)CandideServer.Entities.Controllers.ServerInstrumentController::GetLyrePitch(System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)Shared.Entity.EntityWrapper::get_BaseGuid()System.Guid::op_Equality(System.Guid, System.Guid)CandideServer.SyncStrategies.SyncStrategy::Everyone()CandideServer.SyncStrategies.SyncStrategy::SkipPlayer(System.Int32)CandideServer.MessageModels.PlaySfxOnEntityMessage::.ctor()Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Single>::.ctor(!0)CandideServer.ServerServices.ServerSoundAndVfxService::Send_PlaySfxOnEntity(CandideServer.MessageModels.PlaySfxOnEntityMessage, CandideServer.SyncStrategies.SyncStrategy)
String literals
event:/effects/drum_hitevent:/effects/lute_hitTried to play unhandled instrument type
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
78BFA0E5D620ADCE73388D1A349924F42B62C0182FBE24F9C92E8392BE973117 - Body hash
A63C0E11C449FE7E8FE3436AD7F5387CADB4FC604474FBBD17D71840FFEAA55B - IL size52
Referenced calls
Shared.Entity.EntityWrapper::get_Fdt()Shared.Entity.Base.AbstractController::Update(Microsoft.Xna.Framework.GameTime)