mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-30 05:47:57 +03:00
Imported Upstream version 0.26.0
This commit is contained in:
commit
9a2b6c69b6
1398 changed files with 212217 additions and 0 deletions
20
components/esm/loadsscr.cpp
Normal file
20
components/esm/loadsscr.cpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
#include "loadsscr.hpp"
|
||||
|
||||
#include "esmreader.hpp"
|
||||
#include "esmwriter.hpp"
|
||||
|
||||
namespace ESM
|
||||
{
|
||||
|
||||
void StartScript::load(ESMReader &esm)
|
||||
{
|
||||
mData = esm.getHNString("DATA");
|
||||
mScript = esm.getHNString("NAME");
|
||||
}
|
||||
void StartScript::save(ESMWriter &esm)
|
||||
{
|
||||
esm.writeHNString("DATA", mData);
|
||||
esm.writeHNString("NAME", mScript);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue