From 4e9cac96c7f32f2944a139faa01bcf21eda680e9 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Mon, 12 Feb 2018 07:08:47 +0200 Subject: [PATCH] [Server] Add scale and selected spell functions to Player in Sol --- apps/openmw-mp/Player.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/openmw-mp/Player.cpp b/apps/openmw-mp/Player.cpp index de1bcf862..93f733a4b 100644 --- a/apps/openmw-mp/Player.cpp +++ b/apps/openmw-mp/Player.cpp @@ -69,6 +69,7 @@ void Player::Init(LuaState &lua) "resurrect", &Player::resurrect, "jail", &Player::jail, "werewolf", sol::property(&Player::getWerewolfState, &Player::setWerewolfState), + "scale", sol::property(&Player::getScale, &Player::setScale), "getAttribute", &Player::getAttribute, "setAttribute", &Player::setAttribute, @@ -96,6 +97,8 @@ void Player::Init(LuaState &lua) "setMarkRotation", &Player::setMarkRotation, "getMarkCell", &Player::getMarkCell, "setMarkCell", &Player::setMarkCell, + "getSelectedSpell", &Player::getSelectedSpell, + "setSelectedSpell", &Player::setSelectedSpell, "getCellState", &Player::getCellState, "cellStateSize", &Player::cellStateSize,