Elin Decompiled Documentation EA 23.102 Nightly
|
Public Types | |
enum | Type { Default , Firework } |
Public Member Functions | |
void | Play (float delay, Point from, float fixY=0f, Point to=null, Sprite sprite=null) |
Effect | Play (Point from, float fixY=0f, Point to=null, Sprite sprite=null) |
Effect | _Play (Point from, Vector3 fromV, float fixY=0f, Point to=null, Sprite sprite=null) |
Effect | Play (Vector3 v) |
Effect | Flip (bool x=false, bool y=false) |
Effect | SetStartDelay (float a) |
virtual void | OnPlay () |
virtual void | OnUpdate () |
void | Kill () |
virtual void | OnKill () |
void | OnDisable () |
void | OnDestroy () |
Effect | Emit (int num) |
Effect | SetParticleColor (Color c) |
Effect | SetParticleColor (Color color, bool changeMaterial=false, string idCol="_Color") |
Effect | SetScale (float a) |
Static Public Member Functions | |
static Effect | Get (Effect original) |
static Effect | Get (string id) |
static T | Get< T > (string id) |
![]() | |
static int | rnd (int a) |
Public Attributes | |
Type | type |
float | duration = 1f |
float | speed |
float | startDelay |
bool | lookAtTarget |
bool | rotate |
bool | pool |
SpriteRenderer | sr |
ParticleSystem[] | systems |
Vector3[] | dirs |
Ease | ease |
Vector3 | posFix |
Vector3 | randomRange |
Tween | moveTween |
Sprite[] | sprites |
bool | randomFlip |
bool | randomSpeed |
bool | test |
bool | setColor = true |
Action | onComplete |
int | spriteIndex |
float | timer |
Vector3 | fromV |
Vector3 | destV |
bool | pooled |
Transform | poolParent |
List< Material > | materialsToDestroy |
Point | destPos |
Tween | killTimer |
Protected Member Functions | |
void | Activate () |
Protected Attributes | |
bool | killed |
Properties | |
static EffectManager | manager [get] |
![]() | |
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] |
Additional Inherited Members | |
![]() | |
static Core | core |
enum Effect.Type |
|
inline |
Definition at line 115 of file Effect.cs.
References BaseTileMap._baseBrightness, Activate(), Point.cell, EMono.core, destPos, destV, Point.Distance(), duration, fromV, Point.GetRotation(), Core.IsGameStarted, Cell.isShadowed, Kill(), moveTween, OnPlay(), OnUpdate(), posFix, randomFlip, randomRange, EMono.rnd(), rotate, Core.screen, setColor, speed, sr, startDelay, and BaseGameScreen.tileMap.
Referenced by EffectIRenderer.Play(), Play(), Card.PlayEffect(), and AttackProcess.PlayRangedAnime().
|
inlineprotected |
Definition at line 179 of file Effect.cs.
References EffectManager.Add(), duration, Kill(), killTimer, manager, sprites, startDelay, and type.
Referenced by _Play(), EffectIRenderer.Play(), and Play().
|
inline |
Definition at line 279 of file Effect.cs.
References systems.
Referenced by Card.DamageHP(), Card.Die(), and AttackProcess.PlayRangedAnime().
|
inline |
Definition at line 85 of file Effect.cs.
Referenced by Chara._Move(), Zone.ClaimZone(), EffectMeteor.Create(), ActEffect.DamageEle(), Map.DestroyObj(), Chara.Die(), Map.MineBlock(), Map.MineFloor(), Map.MineRamp(), TaskDrawWater.OnCreateProgress(), TaskPlow.OnCreateProgress(), TaskPourWater.OnCreateProgress(), TraitAltar.OnOffer(), TaskBuild.OnProgressComplete(), TaskCraft.OnProgressComplete(), TraitDaggerGrave.OnUse(), DramaManager.ParseLine(), ActSummonGuard.Perform(), Point.PlayEffect(), Card.PlayEffect(), SourceMaterial.Row.PlayHitEffect(), AttackProcess.PlayRangedAnime(), TraitEffect.Proc(), AI_Fish.ProgressFish.Ripple(), AI_UseCrafter.Run(), ActThrow.Throw(), TraitCoreZone.TrySetAct(), and TraitWaystone.TrySetAct().
|
inlinestatic |
Definition at line 90 of file Effect.cs.
References EffectManager.effects, EffectManager.EffectList.Get(), and manager.
|
inlinestatic |
T | : | Effect |
Definition at line 95 of file Effect.cs.
References EffectManager.effects, EffectManager.EffectList.Get(), and manager.
|
inline |
Definition at line 238 of file Effect.cs.
References PoolManager.DespawnOrDestroy(), EffectManager.effects, killed, killTimer, manager, moveTween, OnKill(), pool, EffectManager.Remove(), and DynamicAsset< T >.usePool.
Referenced by _Play(), Activate(), OnDisable(), OnUpdate(), EffectIRenderer.Play(), and Play().
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in EffectIRenderer.
Definition at line 255 of file Effect.cs.
Referenced by Kill().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in EffectIRenderer.
Definition at line 209 of file Effect.cs.
References duration, Kill(), randomSpeed, spriteIndex, sprites, startDelay, timer, and type.
|
inline |
Definition at line 100 of file Effect.cs.
References Point.Copy(), and Play().
Referenced by Chara._Move(), Zone.ClaimZone(), EffectMeteor.Create(), ActEffect.DamageEle(), Map.DestroyObj(), Chara.Die(), Map.MineBlock(), Map.MineFloor(), Map.MineRamp(), TaskDrawWater.OnCreateProgress(), TaskPlow.OnCreateProgress(), TaskPourWater.OnCreateProgress(), TraitAltar.OnOffer(), TaskBuild.OnProgressComplete(), TaskCraft.OnProgressComplete(), TraitDaggerGrave.OnUse(), TraitPowerStatue.OnUse(), DramaManager.ParseLine(), ActSummonGuard.Perform(), Play(), Point.PlayEffect(), SourceMaterial.Row.PlayHitEffect(), TraitEffect.Proc(), AI_Fish.ProgressFish.Ripple(), and AI_UseCrafter.Run().
Definition at line 110 of file Effect.cs.
References _Play(), and Point.Position().
|
inline |
Definition at line 164 of file Effect.cs.
References Activate(), EMono.core, fromV, Core.IsGameStarted, Kill(), OnPlay(), OnUpdate(), and posFix.
Definition at line 289 of file Effect.cs.
References systems.
Referenced by ActEffect.DamageEle(), Card.DamageHP(), Card.Die(), and TraitEffect.Proc().
|
inline |
Definition at line 300 of file Effect.cs.
References material, Material, materialsToDestroy, and systems.
|
inline |
|
inline |
Definition at line 199 of file Effect.cs.
References startDelay.
Referenced by ActEffect.DamageEle().
Point Effect.destPos |
Definition at line 76 of file Effect.cs.
Referenced by _Play(), and EffectMeteor.OnPlay().
Vector3 Effect.destV |
Definition at line 64 of file Effect.cs.
Referenced by _Play(), EffectMeteor.OnPlay(), EffectIRenderer.OnUpdate(), and EffectIRenderer.Play().
Vector3 [] Effect.dirs |
Definition at line 32 of file Effect.cs.
Referenced by TraitEffect.Proc().
float Effect.duration = 1f |
Definition at line 16 of file Effect.cs.
Referenced by _Play(), Activate(), OnUpdate(), and EffectIRenderer.OnUpdate().
Vector3 Effect.fromV |
Definition at line 61 of file Effect.cs.
Referenced by _Play(), EffectMeteor.OnPlay(), and Play().
Tween Effect.killTimer |
Definition at line 81 of file Effect.cs.
Referenced by Activate(), and Kill().
List<Material> Effect.materialsToDestroy |
Definition at line 73 of file Effect.cs.
Referenced by OnDestroy(), and SetParticleColor().
Tween Effect.moveTween |
Definition at line 40 of file Effect.cs.
Referenced by _Play(), Kill(), and EffectMeteor.OnPlay().
Action Effect.onComplete |
Definition at line 52 of file Effect.cs.
Referenced by EffectMeteor.Create(), and EffectMeteor.OnPlay().
Vector3 Effect.posFix |
Definition at line 36 of file Effect.cs.
Referenced by _Play(), EffectText.Play(), and Play().
Vector3 Effect.randomRange |
Definition at line 38 of file Effect.cs.
Referenced by _Play(), and EffectText.Play().
bool Effect.randomSpeed |
Definition at line 46 of file Effect.cs.
Referenced by OnUpdate().
float Effect.speed |
Definition at line 18 of file Effect.cs.
Referenced by _Play(), and EffectIRenderer.OnUpdate().
int Effect.spriteIndex |
Definition at line 55 of file Effect.cs.
Referenced by OnUpdate().
Sprite [] Effect.sprites |
Definition at line 42 of file Effect.cs.
Referenced by Activate(), OnUpdate(), TraitEffect.Proc(), and TraitEffect.TrySetAct().
SpriteRenderer Effect.sr |
float Effect.startDelay |
Definition at line 20 of file Effect.cs.
Referenced by _Play(), Activate(), EffectMeteor.OnPlay(), OnUpdate(), and SetStartDelay().
ParticleSystem [] Effect.systems |
Definition at line 30 of file Effect.cs.
Referenced by Emit(), SetParticleColor(), and TraitEffect.TrySetAct().
bool Effect.test |
Definition at line 48 of file Effect.cs.
Referenced by OnDisable().
float Effect.timer |
Definition at line 58 of file Effect.cs.
Referenced by OnUpdate(), and EffectIRenderer.OnUpdate().
Type Effect.type |
Definition at line 14 of file Effect.cs.
Referenced by Activate(), and OnUpdate().
|
staticget |
Definition at line 83 of file Effect.cs.
Referenced by Activate(), Get(), Get< T >(), and Kill().