| 388 | } |
| 389 | |
| 390 | void cache(const Context& context, std::string_view prop, const sol::object& value) const |
| 391 | { |
| 392 | SelfObject* obj = mObject.asSelfObject(); |
| 393 | obj->cacheStat(*context.mLuaManager, SelfObject::CachedStat{ &SkillStat::setValue, mId, prop }, value); |
| 394 | } |
| 395 | |
| 396 | static void setValue(Index index, std::string_view prop, const MWWorld::Ptr& ptr, const sol::object& value) |
| 397 | { |
nothing calls this directly
no test coverage detected