public ScreenDamageInfo(GameCharacterController cc, string message) { TargetCC = cc; DamageMessage = message; StartTimeStamp = NativeEngineHelper.GetTimeSeconds(); CountTime = 0; Scale = 1.0f; }
public void PushHitElement(GameCharacterController cc, S2C_SpellHit hit) { string message = FormatSpellHitMessage(hit); if (!string.IsNullOrEmpty(message)) { ScreenDamageInfo info = new ScreenDamageInfo(cc, message); Rect fontRC = font.MeasureString(info.DamageMessage, DrawTextFormat.Center); info.InitSize = new Vector2(fontRC.Width, fontRC.Height); damageInfos.Add(info); } }
public SpecialMove_SpellCasting(GameCharacterController owner) : base(owner) { }
public AnimMeshAvatar(GameCharacterController controller) { characterControllerRef = new WeakReference(controller); }
public SpecialMove_TakeDamage(GameCharacterController owner) : base(owner) { }
protected SpecialMoveBase(GameCharacterController owner) { SpeedModifier = 1.0f; ownerCCRef = new WeakReference(owner); }
public SpecialMove_Dead(GameCharacterController owner) : base(owner) { DisableMovement = true; DisableRotation = true; }
public SpecialMove_SpellPrepare(GameCharacterController owner) : base(owner) { }