MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / from_underlying

Function from_underlying

TombEngine/Objects/objectslist.h:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16template <typename T> std::enable_if_t<std::is_same_v<T, std::underlying_type_t<GAME_OBJECT_ID>>, GAME_OBJECT_ID>
17 from_underlying(T rhs)
18 {
19 return GAME_OBJECT_ID{ rhs };
20 }
21
22 enum SPRITE_TYPES
23 {

Callers 2

LoadItemsFunction · 0.85
IsObjectInInventoryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected