forked from skyrim-multiplayer/skymp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(libespm): Added data types def, Added more WRLD fields (skyrim-m…
- Loading branch information
Showing
5 changed files
with
207 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#pragma once | ||
|
||
namespace espm { | ||
|
||
using RecordFlagsType = std::uint32_t; | ||
|
||
/// <summary> | ||
/// A ulong used to identify a data object. May refer to a data object from a | ||
/// mod or new object created in-game. | ||
/// </summary> | ||
using formId = std::uint32_t; | ||
|
||
/// <summary> | ||
/// 'Localized string', a ulong that is used as an index to look up string data | ||
/// information in one of the string tables. Note that the record header for | ||
/// the TES4 record indicates if the file is localized or not. If not, all | ||
/// lstrings are zstrings. | ||
/// </summary> | ||
using lstring = std::uint32_t; | ||
|
||
/// <summary> | ||
/// Zero terminated string | ||
/// </summary> | ||
using zstring = std::string; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#pragma once | ||
#include "CompressedFieldsCache.h" | ||
#include "DataTypes.h" | ||
#include "Type.h" | ||
|
||
#pragma pack(push, 1) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters