Ejemplo n.º 1
0
 public override void WriteBinary(ESPWriter writer)
 {
     if (ItemText != null)
     {
         ItemText.WriteBinary(writer);
     }
     if (ResultText != null)
     {
         ResultText.WriteBinary(writer);
     }
     if (Flags != null)
     {
         Flags.WriteBinary(writer);
     }
     if (DisplayNote != null)
     {
         DisplayNote.WriteBinary(writer);
     }
     if (SubMenu != null)
     {
         SubMenu.WriteBinary(writer);
     }
     if (Script != null)
     {
         Script.WriteBinary(writer);
     }
     if (Conditions != null)
     {
         foreach (var item in Conditions)
         {
             item.WriteBinary(writer);
         }
     }
 }