コード例 #1
0
 public ClipEventEffect(int apiVersion, EventHandler handler, ClipEventEffect basis)
     : base(apiVersion, handler, basis)
 {
     this.unknown         = basis.unknown;
     this.slot_name_hash  = basis.slot_name_hash;
     this.actor_name_hash = basis.actor_name_hash;
     this.effect_name     = basis.effect_name;
     this.slot_name       = basis.slot_name;
 }
コード例 #2
0
 protected override bool isEqual(ClipEvent other)
 {
     if (other is ClipEventEffect)
     {
         ClipEventEffect f = other as ClipEventEffect;
         return(String.Compare(this.slot_name, f.slot_name) == 0 && String.Compare(this.effect_name, f.effect_name) == 0 &&
                this.actor_name_hash == f.actor_name_hash && this.slot_name_hash == f.slot_name_hash &&
                Enumerable.SequenceEqual(this.unknown, f.unknown));
     }
     else
     {
         return(false);
     }
 }