SScanParametersMP1: Make use of std::array

This commit is contained in:
Lioncash
2020-06-28 02:24:03 -04:00
parent 665d1f3560
commit 4a9695a698
2 changed files with 23 additions and 23 deletions

View File

@@ -3,6 +3,7 @@
#include "ELogbookCategory.h"
#include <Common/Common.h>
#include <array>
/** Struct mapping to SCAN property layout in MP1 */
enum class EScanSpeed
@@ -49,12 +50,12 @@ struct SScanImage
struct SScanParametersMP1
{
CAssetID GuiFrame;
CAssetID String;
EScanSpeed Speed;
ELogbookCategory LogbookCategory;
bool IsCritical;
SScanImage ScanImages[4];
CAssetID GuiFrame;
CAssetID String;
EScanSpeed Speed;
ELogbookCategory LogbookCategory;
bool IsCritical;
std::array<SScanImage, 4> ScanImages;
};
#endif // SSCANPARAMETERSMP1_H