#ifndef _ESM_DOOR_H
#define _ESM_DOOR_H

#include "esm_reader.hpp"

namespace ESM {

struct Door
{
  std::string name, model, script, openSound, closeSound;

  void load(ESMReader &esm)
  {
    model = esm.getHNString("MODL");
    name = esm.getHNOString("FNAM");
    script = esm.getHNOString("SCRI");
    openSound = esm.getHNOString("SNAM");
    closeSound = esm.getHNOString("ANAM");
  }
};
}
#endif