2022-06-16 21:33:18 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Packet.h"
|
|
|
|
#include "al/util.hpp"
|
|
|
|
|
2022-06-22 17:16:08 +00:00
|
|
|
struct PACKED GameInf : Packet {
|
2022-06-16 21:33:18 +00:00
|
|
|
GameInf() : Packet() {this->mType = PacketType::GAMEINF; mPacketSize = sizeof(GameInf) - sizeof(Packet);};
|
2022-06-28 10:26:26 +00:00
|
|
|
bool1 is2D = false;
|
2022-06-16 21:33:18 +00:00
|
|
|
u8 scenarioNo = -1;
|
|
|
|
char stageName[0x40] = {};
|
|
|
|
|
|
|
|
bool operator==(const GameInf &rhs) const {
|
|
|
|
return (
|
|
|
|
is2D == rhs.is2D &&
|
|
|
|
scenarioNo == rhs.scenarioNo &&
|
|
|
|
al::isEqualString(stageName, rhs.stageName)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator!=(const GameInf& rhs) const { return !operator==(rhs); }
|
|
|
|
|
|
|
|
};
|