Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Performs `room` as part of the gameplay api module.
static DungeonRoom room(int32_t index)Performs `room` as part of the gameplay api module.
| Parameter | Type | Meaning |
|---|---|---|
index | int32_t | Not documented; consult the linked header. |
Returns: DungeonRoom. Consult the linked header for its meaning.
#include "gameplay_api.hpp"
// Assume these named values have been initialized with valid data:
// int32_t index
auto result = epok::DungeonLibrary::room(index);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/gameplay_api.hpp:578
distanceRooms between two rooms on a shortest way, or -1 when there is no way.Methodexplore_everythingPerforms `explore everything` as part of the gameplay api module.Methodexplore_roomRooms the player has entered show on the minimap, with the corridors they open into.Methodforget_exploredPerforms `forget explored` as part of the gameplay api module.Methodfull_map_shownPerforms `full map shown` as part of the gameplay api module.Methodgoal_roomPerforms `goal room` as part of the gameplay api module.MethoditemA key (lock above 0) or other item the recipe placed.Methoditem_countPerforms `item count` as part of the gameplay api module.MethodlockA locked door: its doorway, the room it guards and the lock its key opens.Methodlock_countPerforms `lock count` as part of the gameplay api module.Methodminimap_shownPerforms `minimap shown` as part of the gameplay api module.MethodneighbourThe `index`-th room linked to `room`, or -1.Method