MCPcopy Create free account
hub / github.com/DFHack/dfhack / AssignDFObject

Function AssignDFObject

library/include/LuaTools.h:185–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183 */
184 template<df_object T>
185 bool AssignDFObject(color_ostream &out, lua_State *state, T *target,
186 int val_index, bool exact_type = false, bool perr = true) {
187 return AssignDFObject(out, state, df::identity_traits<T>::get(),
188 target, val_index, exact_type, perr);
189 }
190
191 /**
192 * Assign the value at val_index to the target using df.assign().

Callers

nothing calls this directly

Calls 1

getFunction · 0.70

Tested by

no test coverage detected