Epok Engine

EPOK RUNTIME

epok::streaming_request_page

Function · 1 overload

Function

Gameplay requests are deliberately queued: the script call never performs a CD seek or waits for callbacks.

Belongs to
epok
Header
streaming.hpp
Overloads
1

Declaration

Declaration
inline bool streaming_request_page(uint32_t page)

Gameplay requests are deliberately queued: the script call never performs a CD seek or waits for callbacks.

ParameterTypeMeaning
pageuint32_tValue supplied for page. Keep referenced or pointed-to data valid for the complete call.

Returns: bool. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "streaming.hpp"

// Assume these named values have been initialized with valid data:
// uint32_t page

auto result = epok::streaming_request_page(page);

Why use it

The boolean result makes success, availability or state explicit without exceptions.

Trade-offs and warnings

Check the return value; `false` is part of normal control flow for many PSX resource operations.

Declared in runtime/streaming.hpp:129

Related members