Romestead Assembly Reference

Candide.Sound.SoundPlayer

Type JSON

public class in Candide.Sound

Methods31
Properties0
Fields13
Events0
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.Sound
  • Base typeSystem.Object
  • Hash994C4EF4961D31E3667511F53B47497D8FF39475474256401BC82F4DFEC5D6E9

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
AudioEventsinternalinternal System.Collections.Generic.HashSet<Candide.Sound.AudioEvent.AudioEvent> AudioEvents
Banksprivateprivate System.Collections.Generic.List<FMOD.Studio.Bank> Banks
DistanceFactorpublicpublic System.Single DistanceFactor
EntityTrackedAudioEventsprivateprivate System.Collections.Generic.Dictionary<Candide.Sound.AudioEvent.AudioEvent, System.Guid> EntityTrackedAudioEvents
FmodLiveUpdatePortprivateprivate System.UInt16 FmodLiveUpdatePort
Initializedinternalinternal System.Boolean Initialized
IsUnloadingSoundspublicpublic System.Boolean IsUnloadingSounds
ListenerPositionpublicpublic Microsoft.Xna.Framework.Vector2 ListenerPosition
StudioSysteminternalinternal FMOD.Studio.System StudioSystem
VisualSoundpublicpublic System.Boolean VisualSound
_bankPathprivateprivate System.String _bankPath
_eventAttributesprivateprivate FMOD.ATTRIBUTES_3D _eventAttributes
_listenerAttributesprivateprivate FMOD.ATTRIBUTES_3D _listenerAttributes

Methods

AddNewAudioEvent

public System.Void AddNewAudioEvent(Candide.Sound.AudioEvent.AudioEvent audioEvent, Shared.Entity.EntityWrapper ownerEntity)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash0574028899B386AD57780765B91EB81857DA13D44CEBE0FF100DD6383CCC7565
  • Body hash39A896864329447759DADC72380A096014EA0D57CE67814ACAFB8ED5E0531CF4
  • IL size25
Referenced calls
Called by

AudioEventUnloaded

public System.Void AudioEventUnloaded(Candide.Sound.AudioEvent.AudioEvent audioEvent)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash61C2A3BF4B5FD9B92734BDC82BA6616EBEB3E8853FA8AE3FC6E4E82ACD8A464F
  • Body hash8096F231180DB783F49B967BB452681EE11C3B3E270E3CB5CB990D4FFD612596
  • IL size25
Referenced calls
  • System.Collections.Generic.HashSet<Candide.Sound.AudioEvent.AudioEvent>::Remove(!0)
  • System.Collections.Generic.Dictionary<Candide.Sound.AudioEvent.AudioEvent, System.Guid>::Remove(!0)
Called by

ConnectAudioEventToEntity

public System.Void ConnectAudioEventToEntity(Candide.Sound.AudioEvent.AudioEvent audioEvent, Shared.Entity.EntityWrapper entity)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash4743F405D23C7592A7165AA75311A946A31F550C82A8CCA3A18ECE3DEC3D9BC6
  • Body hashCFC10A452E7F4FF3C1BEE8A32B1084728B5FB70233EC81E39104FB5A10546588
  • IL size20
Referenced calls
  • Shared.Entity.EntityWrapper::get_Id()
  • System.Collections.Generic.Dictionary<Candide.Sound.AudioEvent.AudioEvent, System.Guid>::set_Item(!0, !1)
Called by

CreateEventInstance

internal FMOD.Studio.EventInstance CreateEventInstance(System.String eventName)

Method metadata
  • Visibilityinternal
  • Return typeFMOD.Studio.EventInstance
  • StaticTrue
  • VirtualFalse
  • Hash9917820A0D86D40C3311A0086473C588C6A80E08C47CD7BEADF54CA814A8288C
  • Body hashB4ED113321C1A97AD4CA9989A16B7C29833271AC4621004BB97558929A15B900
  • IL size43
Referenced calls
String literals
  • Fix when instance is invalid

Errcheck

internal System.Void Errcheck(FMOD.RESULT r)

Method metadata
  • Visibilityinternal
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash759DA9CE9B3710C65202C58BD9DF4C3D0A89E967161345B42FF8CF3394364E08
  • Body hash27D6909EDDF3E8ED862552942FCC2E6E4ACABA8D4FC08D54946ADC9171B0F0A9
  • IL size102
Referenced calls
  • FMOD.Error::String(FMOD.RESULT)
  • System.String::Concat(System.String, System.String)
  • CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)
  • 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::AppendFormatted(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
  • FMOD.FMODException::.ctor(System.String, FMOD.RESULT)
Called by
String literals
  • FMOD_ERR_EVENT_NOTFOUND -
  • FMOD.RESULT was
  • -

GetBus

private FMOD.Studio.Bus GetBus(SoundPlayer.SoundGroup group)

Method metadata
  • Visibilityprivate
  • Return typeFMOD.Studio.Bus
  • StaticTrue
  • VirtualFalse
  • Hash371E2863ECE5C006EE62C7DC7F60B2F50C8D55B36B57BFAECED14C722B595BDB
  • Body hash0E8160E86E27CD8ADFC613297AB44C0DC1CD2C61DEF87DDEB1BE6D7DEB81D0A0
  • IL size104
Referenced calls
Called by
String literals
  • bus:/Audio premaster/music
  • bus:/Audio premaster/sound effects
  • bus:/Audio premaster/ambience
  • bus:/

GetMute

public System.Boolean GetMute(SoundPlayer.SoundGroup group)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash1D52D67EE71F2F99C194C33CBE99EDE41AF0F60C25DFE7EB7E71DBFCC0BD7DCE
  • Body hash4891B9811394A12905E564977FC0309785DAF04BE40177B3E64F2007F50F7608
  • IL size19
Referenced calls
Called by

Initialize

public System.Void Initialize()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashE756EE7E85421BA06DE7C1446B2B998DF351CD94EEB26252281521CFB7E627F6
  • Body hash4AD78C351AE668C6BE36663D915FA6082BD24B6D10532888285AC4E293BA2761
  • IL size722
Referenced calls
Called by
String literals
  • /fmod_banks/Desktop/
  • FMOD\64\fmod.dll
  • FMOD\64\fmodstudio.dll
  • Master Bank.strings
  • Master bank

LoadBank

private System.Void LoadBank(System.String bankname)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashC857994EA1650B21F1D0210EC3C861A5CCCAB64FC242B44BD3476AC87B903F65
  • Body hash4BA3433DF04BCFA7196FA45ECBDC83CE5BF580E2B26A9B81AA4385581E2D2187
  • IL size46
Referenced calls
Called by
String literals
  • .bank

LoadLibrary

public System.IntPtr LoadLibrary(System.String dllToLoad)

Method metadata
  • Visibilitypublic
  • Return typeSystem.IntPtr
  • StaticTrue
  • VirtualFalse
  • Hash37FB828E808DC384330102A1878E429BE51D436E1F3F8508385D8F0D444B4287
Called by

Play3DEventOneShot

private System.Void Play3DEventOneShot(System.String eventName, Microsoft.Xna.Framework.Vector3 sourceRegularPosition, System.String parameterName, System.Single parameterValue, System.Single volume, System.Single pitch)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash1625F35D50D100844DF755FAC8D2C449EC049D4D57BE95995ED702D5F3FB9085
  • Body hashC76F077E0FF279896D338A42BE10E83210322E9C2D0B46D28C25706EB9CA7A42
  • IL size348
Referenced calls
Called by
String literals
  • SoundPlayer: Tried to play a sound with volume set to 0. EventName: '
  • '
  • [SoundPlayer] Failed playing 3D audio
  • EventName:
  • Info:
  • Stack trace:

Play3DEventOneShot

public System.Void Play3DEventOneShot(System.String eventname, Microsoft.Xna.Framework.Vector3 sourceRegularPosition, System.Single volume, System.Single pitch)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash594484909EB1CDCC776C49EA1DD6594887162FF6E7C64910D0DF5C65E51BACAA
  • Body hash8C9EE0EB2E8127AE9283EF69B40452AEBDCE83F2BD2C3BE73431E6E61923B694
  • IL size16
Referenced calls
Called by

Play3DEventWithParameterOneShot

public System.Void Play3DEventWithParameterOneShot(System.String eventname, Microsoft.Xna.Framework.Vector3 sourceRegularPosition, System.String parameterName, System.Single parameterValue, System.Single volume, System.Single pitch)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashB2578E9602E14714576BBADC56F7BB72338ADFE532D0C238F480523B3D9E1E7B
  • Body hashC7B737D641498EB44376D765110734937C0D22760FB76F49F0B3FB6A02ED92CA
  • IL size14
Referenced calls
Called by

PlayEventOneShot

public System.Void PlayEventOneShot(System.String eventName, System.Single volume, System.Single pitch)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash6F40C3A583AE460A9B9F37D8356FBAB8AE6409D0BC9A157D2D25C57854A732CA
  • Body hash4043D881280E1EB0F047F51891871A73C74D103C8EE70A24545D6867CAB119FE
  • IL size344
Referenced calls
Called by
String literals
  • SoundPlayer: Tried to play a sound with volume set to 0. EventName: '
  • '
  • [SoundPlayer] Failed playing audio
  • EventName:
  • Info:
  • Stack trace:

Print

public System.Void Print(System.String msg)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash0CAE31F03BEF40F626033AE25CC9B97302B352B54185BC9263DD918820919235
  • Body hashD0F455CB43CE16030842EF214DAEB7C0E54ABC1080B570C602736DA12441CD5F
  • IL size19
Referenced calls
  • System.Collections.Generic.List<System.String>::Add(!0)
Called by

SetIsIndoors

public System.Void SetIsIndoors(System.Boolean isIndoors)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash7CDFD339F51BD5206622042F6061E2EF9CB2C3891167D43E0D402F24EA2EE945
  • Body hash0CE21FFC61238F54DCAAE01C950E32D8D7981D0983303576C35CB62C3AB8BB71
  • IL size27
Referenced calls
Called by
String literals
  • parameter:/is_indoors

SetMute

public System.Void SetMute(SoundPlayer.SoundGroup group, System.Boolean mute)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashAC7A58EA81A5156EAAB36E121641FDBFFEA6C537A5F39F80EDA9DDFD7B53F8EB
  • Body hash513E021DBC6C317514BD473D7EA525814029715B78FB389B032AF73EA15F63DF
  • IL size28
Referenced calls
Called by

SetPaused

public System.Void SetPaused(SoundPlayer.SoundGroup group, System.Boolean paused)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashCD796103219B23134BC2E19AD666C2815A495D25E7FDF2B66CCC3C0E30B73996
  • Body hashD2BDC62A9080E90556BFA53E7444F9AF78361D47D1547D430EC35DF10AF7C633
  • IL size28
Referenced calls

SetSfxReverb

public System.Void SetSfxReverb(System.Boolean turnOn)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash4532784A8A3EE9444F73B17294DBC828ECBD2D4B9067EDF93CAB4739CA8D4A04
  • Body hash214A13B385D57BB415A77EB6ECC2740BA34A897297A3AA1AAD70CCF346F1EA40
  • IL size27
Referenced calls
Called by
String literals
  • parameter:/IsInDungeon

SetVolume

public System.Void SetVolume(SoundPlayer.SoundGroup group, System.Single volume)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash16992F4277F6C61FCBBEDAA9E0A388362C8F71D3E8B69B80E430822C40389B19
  • Body hash24735AE7CE49B982F88A46C69C5F33B67E8C5831636C1F56C8C7C894930D6C3B
  • IL size28
Referenced calls
Called by

StopAllEvents

public System.Void StopAllEvents()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashE3FF0BED8FE4FDF693D9477D3F803DD426DB77C0CE02DCAD648A6B86CC644952
  • Body hash900A7F74AFFCFFD4A06172B86E0269C39E8FB270A83B0E6D404308679F7E9208
  • IL size36
Referenced calls
Called by
String literals
  • bus:/

UnloadAndRelease

public System.Void UnloadAndRelease()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash79266A79A0D5031BFBEACE24C612ED1E184B9FF402A04D8A23350D84F0C784AB
  • Body hash38241C85001415E7B0FC9115680DDECA9819C0E2E2B8F4FEB66899CC6DC15F66
  • IL size121
Referenced calls
Called by

Update

public System.Void Update(System.Single xPos, System.Single yPos, System.Single zPos)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash776ED6FC28F1949C7D9ACF7099B96BB8E464CBA9A7DCD40D27C25AABBE0F33D6
  • Body hash7CC20605C6B8AE8B8A1D50552EAAC71DF9E57A84080A07C010CC66279467C092
  • IL size209
Referenced calls
  • FMOD.Studio.System::setListenerAttributes(System.Int32, FMOD.ATTRIBUTES_3D)
  • FMOD.Studio.System::update()
  • System.Collections.Generic.Dictionary<Candide.Sound.AudioEvent.AudioEvent, System.Guid>::GetEnumerator()
  • Dictionary.Enumerator<Candide.Sound.AudioEvent.AudioEvent, System.Guid>::get_Current()
  • System.Collections.Generic.KeyValuePair<Candide.Sound.AudioEvent.AudioEvent, System.Guid>::Deconstruct(!0&, !1&)
  • System.Collections.Generic.Dictionary<System.Guid, Shared.Entity.EntityWrapper>::ContainsKey(!0)
  • Candide.Sound.AudioEvent.AudioEvent::Unload()
  • System.Collections.Generic.Dictionary<Candide.Sound.AudioEvent.AudioEvent, System.Guid>::Remove(!0)
  • Dictionary.Enumerator<Candide.Sound.AudioEvent.AudioEvent, System.Guid>::MoveNext()
  • System.IDisposable::Dispose()
Called by