public override void Leave(AGE.Action _action, Track _track) { if (this.actor_ != 0) { MaterialHurtEffect matHurtEffect = this.actor_.handle.MatHurtEffect; if (matHurtEffect != null) { switch (this.effectType) { case MaterialEffectType.Freeze: matHurtEffect.StopFreezeEffect(this.playingId); break; case MaterialEffectType.Stone: matHurtEffect.StopStoneEffect(this.playingId); break; case MaterialEffectType.Translucent: matHurtEffect.SetTranslucent(false); break; case MaterialEffectType.HighLit: matHurtEffect.StopHighLitEffect(); break; } } } }
public override void Enter(AGE.Action _action, Track _track) { this.actor_ = _action.GetActorHandle(this.targetId); if (this.actor_ != 0) { MaterialHurtEffect matHurtEffect = this.actor_.handle.MatHurtEffect; if (matHurtEffect == null) { this.actor_.Release(); } else { switch (this.effectType) { case MaterialEffectType.Freeze: this.playingId = matHurtEffect.PlayFreezeEffect(); break; case MaterialEffectType.Stone: this.playingId = matHurtEffect.PlayStoneEffect(); break; case MaterialEffectType.Translucent: matHurtEffect.SetTranslucent(true); break; case MaterialEffectType.HighLit: matHurtEffect.PlayHighLitEffect(this.highLitColor); break; } } } }
public override void Enter(Action _action, Track _track) { this.actor_ = _action.GetActorHandle(this.targetId); if (!this.actor_) { return; } MaterialHurtEffect matHurtEffect = this.actor_.get_handle().MatHurtEffect; if (matHurtEffect == null) { this.actor_.Release(); return; } switch (this.effectType) { case MaterialEffectType.Freeze: this.playingId = matHurtEffect.PlayFreezeEffect(); break; case MaterialEffectType.Stone: this.playingId = matHurtEffect.PlayStoneEffect(); break; case MaterialEffectType.Translucent: matHurtEffect.SetTranslucent(true, false); break; case MaterialEffectType.HighLit: this.hlcId = matHurtEffect.PlayHighLitEffect(this.highLitColor); break; } }
public override void Leave(Action _action, Track _track) { if (!this.actor_) { return; } MaterialHurtEffect matHurtEffect = this.actor_.get_handle().MatHurtEffect; if (matHurtEffect == null) { return; } switch (this.effectType) { case MaterialEffectType.Freeze: matHurtEffect.StopFreezeEffect(this.playingId); break; case MaterialEffectType.Stone: matHurtEffect.StopStoneEffect(this.playingId); break; case MaterialEffectType.Translucent: matHurtEffect.SetTranslucent(false, false); break; case MaterialEffectType.HighLit: matHurtEffect.StopHighLitEffect(this.hlcId); break; } }
public override void OnUse() { base.OnUse(); this.name = string.Empty; this.isMovable = true; this.isRotatable = true; this.myTransform = null; this.ActorMesh = null; this.ActorMeshAnimation = null; this._bVisible = true; this._bInitVisibleDelay = 0; this._bInCamera = false; this.ObjID = 0u; this.TheActorMeta = default(ActorMeta); this.TheStaticData = default(ActorStaticData); this.SelfPtr.Release(); this.ObjLinker = null; this.ActorControl = null; this.ActorAgent = null; this.MovementComponent = null; this.SkillControl = null; this.ValueComponent = null; this.HurtControl = null; this.HudControl = null; this.AnimControl = null; this.BuffHolderComp = null; this.MatHurtEffect = null; this.ShadowEffect = null; this.EquipComponent = null; this.DefaultAttackModeControl = null; this.LockTargetAttackModeControl = null; this.PetControl = null; this.OriginalActorMesh = null; this.OriginalMeshAnim = null; this.shape = null; this.slotList.Clear(); this.bChildUpdate = false; this.SMNode = null; this._location = VInt3.zero; this._forward = VInt3.forward; this._rotation = Quaternion.identity; this.groundY = 0; this.hasReachedNavEdge = false; this.pickFlyY = 0; this.AttackOrderReady = true; this.bOneKiller = false; this.CharInfo = null; this.HorizonMarker = null; this.BornPos = VInt3.zero; this.isRecycled = false; this.BornPos = VInt3.zero; this.PositionRecords = null; this.PositionRecordsLastStamp = 0f; }