Skip to content
Flecs v4.1
ecs_function_ctx_t Struct Reference

Script function context. More...

#include <script.h>

Public Attributes

ecs_world_tworld
 The world.
ecs_entity_t function
 The function entity.
ecs_entity_t entity
 "this" entity (for methods and async functions).
void * ctx
 User context.

Detailed Description

Script function context.

Definition at line 135 of file script.h.

Member Data Documentation

◆ ctx

void* ecs_function_ctx_t::ctx

User context.

Definition at line 139 of file script.h.

◆ entity

ecs_entity_t ecs_function_ctx_t::entity

"this" entity (for methods and async functions).

Definition at line 138 of file script.h.

◆ function

ecs_entity_t ecs_function_ctx_t::function

The function entity.

Definition at line 137 of file script.h.

◆ world

ecs_world_t* ecs_function_ctx_t::world

The world.

Definition at line 136 of file script.h.


The documentation for this struct was generated from the following file: