The Battle for Wesnoth  1.17.23+dev
Public Member Functions | Public Attributes | Private Attributes | Static Private Attributes | List of all members
ai::lua_ai_load Class Reference

#include <core.hpp>

Public Member Functions

 lua_ai_load (lua_ai_context &ctx, bool read_only)
 ~lua_ai_load ()

Public Attributes

bool was_readonly

Private Attributes

lua_State * L

Static Private Attributes

static int refcount = 0

Detailed Description

Definition at line 57 of file core.hpp.

Constructor & Destructor Documentation

◆ lua_ai_load()

ai::lua_ai_load::lua_ai_load ( lua_ai_context ctx,
bool  read_only 

Definition at line 1052 of file core.cpp.

References aisKey, L, luaW_toboolean(), ai::lua_ai_context::num_, refcount, and was_readonly.

◆ ~lua_ai_load()

ai::lua_ai_load::~lua_ai_load ( )

Definition at line 1082 of file core.cpp.

References L, refcount, and was_readonly.

Member Data Documentation

◆ L

lua_State* ai::lua_ai_load::L

Definition at line 59 of file core.hpp.

Referenced by lua_ai_load(), and ~lua_ai_load().

◆ refcount

int ai::lua_ai_load::refcount = 0

Definition at line 60 of file core.hpp.

Referenced by lua_ai_load(), and ~lua_ai_load().

◆ was_readonly

bool ai::lua_ai_load::was_readonly

Definition at line 62 of file core.hpp.

Referenced by lua_ai_load(), and ~lua_ai_load().

The documentation for this class was generated from the following files: