Skip to content

DataModel usage #6

@espkk

Description

@espkk

I found some of the features of the DataModel bindings not working, e.g. Set method does pointer to sol::object conversion to primitive types, which simply crashes the app. Another issue is that the lua table is not being updated when assigning to data model from rml.
On the other hand, I noticed that

DataVariable SolLuaObjectDef::Child(void* ptr, const Rml::DataAddressEntry& address)
contains most of the code, but I can't even get there.

Could you clarify how it's supposed to be used?

PS I fixed the above issues locally, now I'm trying to figure out is there a more convenient to deal with nested tables and arrays, that's why I'm also curios about Child call

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions