コード例 #1
0
 public override void WriteBinary(ESPWriter writer)
 {
     if (BaseEffect != null)
     {
         BaseEffect.WriteBinary(writer);
     }
     if (EffectData != null)
     {
         EffectData.WriteBinary(writer);
     }
     if (Conditions != null)
     {
         foreach (var item in Conditions)
         {
             item.WriteBinary(writer);
         }
     }
 }