MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / GameObjectAlreadyExists

Class GameObjectAlreadyExists

include/Core/Scene/Exceptions.hpp:50–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 };
49
50 class GameObjectAlreadyExists : public Exception
51 {
52 public:
53 GameObjectAlreadyExists(std::string_view sceneFile, std::string_view objectType,
54 std::string_view objectId, DebugInfo info)
55 : Exception("GameObjectAlreadyExists", info)
56 {
57 this->error(
58 "Scene '{}' already contains a GameObject of type '{}' with id '{}'",
59 sceneFile, objectType, objectId);
60 this->hint("Try choosing a different id to avoid name conflict");
61 }
62 };
63
64 class UnknownSprite : public Exception
65 {

Callers 2

loadMethod · 0.85
Scene.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected