|
Elin Decompiled Documentation EA 23.357 Nightly
|
Public Types | |
| enum | Type { Default , JukeBox } |
Public Member Functions | |
| void | SetOwner (Card c) |
| float | GetVolume () |
| void | Refresh () |
| void | Kill () |
Public Attributes | |
| Type | type |
| Card | owner |
| bool | alwaysOn |
| float | outsideRoomVolume = 0.5f |
| float | outsideLotVolume = 0.5f |
| int | maxDistance |
| int | minInterval = 1 |
| int | randomInterval |
| AudioSource | audioSource |
| SoundData | data |
Static Public Attributes | |
| static readonly List< ActorEx > | instances = new List<ActorEx>() |
Static Public Attributes inherited from EMono | |
| static Core | core |
Private Member Functions | |
| void | OnEnable () |
| void | OnDisable () |
| void | RefreshNearbyCounts () |
| void | UpdateSameSoundCount () |
Private Attributes | |
| int | next |
| int | sameSoundCount = 1 |
Additional Inherited Members | |
Static Public Member Functions inherited from EMono | |
| static int | rnd (int a) |
Properties inherited from EMono | |
| static Game | game [get] |
| static bool | AdvMode [get] |
| static Player | player [get] |
| static Chara | pc [get] |
| static UI | ui [get] |
| static Map | _map [get] |
| static Zone | _zone [get] |
| static FactionBranch | Branch [get] |
| static FactionBranch | BranchOrHomeBranch [get] |
| static Faction | Home [get] |
| static Scene | scene [get] |
| static BaseGameScreen | screen [get] |
| static GameSetting | setting [get] |
| static GameData | gamedata [get] |
| static ColorProfile | Colors [get] |
| static World | world [get] |
| static SoundManager | Sound [get] |
| static SourceManager | sources [get] |
| static SourceManager | editorSources [get] |
| static CoreDebug | debug [get] |
Definition at line 4 of file ActorEx.cs.
| enum ActorEx.Type |
| Enumerator | |
|---|---|
| Default | |
| JukeBox | |
Definition at line 6 of file ActorEx.cs.
|
inline |
Definition at line 54 of file ActorEx.cs.
References EMono._zone, alwaysOn, Card.Cell, Card.Dist(), LayerDrama.drama, Room.HasRoof, LayerDrama.Instance, Card.IsInstalled, Card.isOn, Zone.isStarted, DramaManager.keepAmbientBGM, Room.lot, outsideLotVolume, outsideRoomVolume, owner, EMono.pc, Cell.room, sameSoundCount, and type.
Referenced by Refresh().
|
inline |
Definition at line 164 of file ActorEx.cs.
Referenced by Scene.ClearActorEx(), and Scene.RemoveActorEx().
|
inlineprivate |
Definition at line 178 of file ActorEx.cs.
References instances, and RefreshNearbyCounts().
|
inlineprivate |
Definition at line 169 of file ActorEx.cs.
References instances, and RefreshNearbyCounts().
|
inline |
Definition at line 98 of file ActorEx.cs.
References audioSource, Chara.currentZone, data, Debug, Card.Dist(), GetVolume(), maxDistance, minInterval, next, owner, Card.parent, EMono.pc, Card.pos, Point.PositionCenter(), randomInterval, and Rand.rnd().
Referenced by Scene.RefreshActorEx(), and SetOwner().
|
inlineprivate |
Definition at line 184 of file ActorEx.cs.
References instances.
Referenced by OnDisable(), OnEnable(), and SetOwner().
|
inline |
Definition at line 38 of file ActorEx.cs.
References audioSource, EMono.core, data, CoreRef.dictBGM, owner, Rand.Range(), Refresh(), RefreshNearbyCounts(), Core.refs, Card.refVal, and type.
Referenced by Scene.AddActorEx().
|
inlineprivate |
Definition at line 195 of file ActorEx.cs.
References audioSource, instances, and sameSoundCount.
| bool ActorEx.alwaysOn |
Definition at line 18 of file ActorEx.cs.
Referenced by GetVolume().
| AudioSource ActorEx.audioSource |
Definition at line 32 of file ActorEx.cs.
Referenced by Refresh(), SetOwner(), and UpdateSameSoundCount().
| SoundData ActorEx.data |
Definition at line 34 of file ActorEx.cs.
Referenced by Refresh(), and SetOwner().
Definition at line 12 of file ActorEx.cs.
Referenced by OnDisable(), OnEnable(), RefreshNearbyCounts(), and UpdateSameSoundCount().
| int ActorEx.maxDistance |
Definition at line 24 of file ActorEx.cs.
Referenced by Refresh().
| int ActorEx.minInterval = 1 |
Definition at line 26 of file ActorEx.cs.
Referenced by Refresh().
|
private |
Definition at line 30 of file ActorEx.cs.
Referenced by Refresh().
| float ActorEx.outsideLotVolume = 0.5f |
Definition at line 22 of file ActorEx.cs.
Referenced by GetVolume().
| float ActorEx.outsideRoomVolume = 0.5f |
Definition at line 20 of file ActorEx.cs.
Referenced by GetVolume().
| Card ActorEx.owner |
Definition at line 16 of file ActorEx.cs.
Referenced by GetVolume(), Refresh(), and SetOwner().
| int ActorEx.randomInterval |
Definition at line 28 of file ActorEx.cs.
Referenced by Refresh().
|
private |
Definition at line 36 of file ActorEx.cs.
Referenced by GetVolume(), and UpdateSameSoundCount().
| Type ActorEx.type |
Definition at line 14 of file ActorEx.cs.
Referenced by GetVolume(), and SetOwner().