OpenTTD Source  20241121-master-g67a0fccfad
NewGRFMappingChunkHandler Struct Reference
Inheritance diagram for NewGRFMappingChunkHandler:
ChunkHandler APIDChunkHandler ATIDChunkHandler HIDSChunkHandler IIDSChunkHandler OBIDChunkHandler TIDSChunkHandler

Public Member Functions

 NewGRFMappingChunkHandler (uint32_t id, OverrideManagerBase &mapping)
 
void Save () const override
 Save a GRF ID + local id -> OpenTTD's id mapping.
 
void Load () const override
 Load a GRF ID + local id -> OpenTTD's id mapping.
 
- Public Member Functions inherited from ChunkHandler
 ChunkHandler (uint32_t id, ChunkType type)
 
virtual void FixPointers () const
 Fix the pointers. More...
 
virtual void LoadCheck (size_t len=0) const
 Load the chunk for game preview. More...
 
std::string GetName () const
 

Data Fields

OverrideManagerBasemapping
 
- Data Fields inherited from ChunkHandler
uint32_t id
 Unique ID (4 letters).
 
ChunkType type
 Type of the chunk. More...
 

Detailed Description

Definition at line 15 of file newgrf_sl.h.


The documentation for this struct was generated from the following files: