コード例 #1
0
 public SimpleRiftActionFilter(RiftActionType type, string casterId, string targetId, string spellId)
 {
     this.type = type;
     this.casterId = casterId;
     this.targetId = targetId;
     this.spellId = spellId;
 }
コード例 #2
0
 public RiftAction(long timestamp, RiftActionType type, string casterId, string targetId, string spellId, int spellValue, int overheal, int intercepted, int blocked, int absorbed, int overkill, RiftDamageType damageType)
     : base(timestamp, type)
 {
     this.CasterId = casterId;
     this.TargetId = targetId;
     this.SpellId = spellId;
     this.SpellValue = spellValue;
     this.Overheal = overheal;
     this.Intercepted = intercepted;
     this.Blocked = blocked;
     this.Absorbed = absorbed;
     this.Overkill = overkill;
     this.DamageType = damageType;
 }
コード例 #3
0
 public RiftActionData(Guid encounterId, RiftActionType actionType, string casterId, string targetId, string spellId, int spellValue, int overheal, int intercepted, int blocked, int absorbed, int overkill, RiftDamageType damageType, long timestamp)
 {
     EncounterId = encounterId;
     ActionType = actionType;
     CasterId = casterId;
     TargetId = targetId;
     SpellId = spellId;
     SpellValue = spellValue;
     Overheal = overheal;
     Intercepted = intercepted;
     Blocked = blocked;
     Absorbed = absorbed;
     Overkill = overkill;
     DamageType = damageType;
     Timestamp = timestamp;
     Time = DateTime.FromFileTime(timestamp);
 }