GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
|
Class used to rename resources (in an object, an entire project, etc...) More...
#include <ResourcesRenamer.h>
Inherits gd::ArbitraryResourceWorker.
Public Member Functions | |
ResourcesRenamer (gd::ResourcesManager &resourcesManager, const std::map< gd::String, gd::String > &oldToNewNames_) | |
Constructor taking the map from old name to new name. More... | |
virtual void | ExposeFile (gd::String &resourceFileName) override |
Expose a raw filename. | |
virtual void | ExposeImage (gd::String &imageResourceName) override |
Expose an image, which is always a reference to a "image" resource. | |
virtual void | ExposeAudio (gd::String &audioResourceName) override |
Expose an audio, which is either a reference to an "audio" resource, or a filename if no resource with this name exists (for backward compatibility). | |
virtual void | ExposeFont (gd::String &fontResourceName) override |
Expose a font, which is either a reference to a "font" resource, or a filename if no resource with this name exists (for backward compatibility). | |
virtual void | ExposeJson (gd::String &jsonResourceName) override |
Expose a JSON, which is always a reference to a "json" resource. | |
virtual void | ExposeTilemap (gd::String &tilemapResourceName) override |
Expose a Tilemap, which is always a reference to a "tilemap" resource. | |
virtual void | ExposeTileset (gd::String &tilesetResourceName) override |
Expose a Tileset, which is always a reference to a "tileset" resource. | |
virtual void | ExposeVideo (gd::String &videoResourceName) override |
Expose a video, which is always a reference to a "video" resource. | |
virtual void | ExposeBitmapFont (gd::String &bitmapFontName) override |
Expose a bitmap font, which is always a reference to a "bitmapFont" resource. | |
virtual void | ExposeModel3D (gd::String &resourceName) override |
Expose a 3D model, which is always a reference to a "model3D" resource. | |
virtual void | ExposeAtlas (gd::String &resourceName) override |
Expose an atlas, which is always a reference to a "atlas" resource. | |
virtual void | ExposeSpine (gd::String &resourceName) override |
Expose an spine, which is always a reference to a "spine" resource. | |
Public Member Functions inherited from gd::ArbitraryResourceWorker | |
ArbitraryResourceWorker (gd::ResourcesManager &resourcesManager_) | |
void | ExposeResources () |
Expose a set of resources. More... | |
void | ExposeResourceWithType (const gd::String &resourceType, gd::String &resourceName) |
Expose a resource from a given type. | |
virtual void | ExposeShader (gd::String &shaderName) |
Expose a shader. \warn Currently unsupported. | |
virtual void | ExposeEmbeddeds (gd::String &resourceName) |
Expose the embedded resources of the specified resource. | |
Additional Inherited Members | |
Protected Attributes inherited from gd::ArbitraryResourceWorker | |
gd::ResourcesManager * | resourcesManager |
Class used to rename resources (in an object, an entire project, etc...)
|
inline |
Constructor taking the map from old name to new name.
oldToNewNames_ | A map associating to a resource name the new name to use. |