Epok Engine

EPOK RUNTIME

epok::bp::api::burst_effect

Function · 1 overload

Function

Performs `burst effect` as part of compiled Blueprint execution and object interaction.

Belongs to
epok::bp::api
Header
blueprint_api.hpp
Overloads
1

Declaration

Declaration
bool burst_effect(effects::Handle,uint32_t)

Performs `burst effect` as part of compiled Blueprint execution and object interaction.

ParameterTypeMeaning
arg1effects::HandleValue supplied for arg1. Keep referenced or pointed-to data valid for the complete call.
arg2uint32_tValue supplied for arg2. 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 "blueprint_api.hpp"

// Assume these named values have been initialized with valid data:
// effects::Handle arg1
// uint32_t arg2

auto result = epok::bp::api::burst_effect(arg1, arg2);

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/blueprint_api.hpp:15

Related members