|
OpenTTD Source 20260208-master-g43af8e94d0
|
Basic data to distinguish a GRF. More...
#include <newgrf_config.h>
Public Member Functions | |
| GRFIdentifier (const GRFIdentifier &other)=default | |
| GRFIdentifier (GRFIdentifier &&other)=default | |
| GRFIdentifier (uint32_t grfid, const MD5Hash &md5sum) | |
| GRFIdentifier & | operator= (const GRFIdentifier &other)=default |
| bool | HasGrfIdentifier (uint32_t grfid, const MD5Hash *md5sum) const |
| Does the identification match the provided values? | |
Data Fields | |
| uint32_t | grfid |
| GRF ID (defined by Action 0x08). | |
| MD5Hash | md5sum |
| MD5 checksum of file to distinguish files with the same GRF ID (eg. newer version of GRF). | |
Basic data to distinguish a GRF.
Used in the server list window
Definition at line 83 of file newgrf_config.h.
|
inline |
Definition at line 90 of file newgrf_config.h.
|
inline |
| uint32_t GRFIdentifier::grfid |
GRF ID (defined by Action 0x08).
Definition at line 84 of file newgrf_config.h.
Referenced by NewGRFWindow::AddGRFToActive(), DeserializeGRFIdentifier(), DisableGrf(), FillGRFDetails(), FillGrfidMap(), LoggedChangeGRFAdd::FormatTo(), LoggedChangeGRFChanged::FormatTo(), Gamelog::GetOverriddenIdentifier(), GRFFile::GRFFile(), Gamelog::GRFUpdate(), HandleIncomingNetworkGameInfoGRFConfig(), HasGrfIdentifier(), IsGoodGRFConfigList(), NewGRFWindow::OnInvalidateData(), ClientNetworkGameSocketHandler::Receive_SERVER_CHECK_NEWGRFS(), SerializeGRFIdentifier(), and ShowMissingContentWindow().
| MD5Hash GRFIdentifier::md5sum |
MD5 checksum of file to distinguish files with the same GRF ID (eg. newer version of GRF).
Definition at line 85 of file newgrf_config.h.
Referenced by CalcGRFMD5Sum(), DeserializeGRFIdentifier(), LoggedChangeGRFAdd::FormatTo(), LoggedChangeGRFChanged::FormatTo(), Gamelog::GRFUpdate(), HandleIncomingNetworkGameInfoGRFConfig(), HandleSavegameLoadCrash(), HasGrfIdentifier(), IsGoodGRFConfigList(), NewGRFWindow::NameSorter(), NewGRFWindow::OnInvalidateData(), ClientNetworkGameSocketHandler::Receive_SERVER_CHECK_NEWGRFS(), SerializeGRFIdentifier(), and ShowMissingContentWindow().