forked from teamnwah/openmw-tes3coop
[Server] Add scale and selected spell functions to Player in Sol
This commit is contained in:
parent
ac374a8ef9
commit
4e9cac96c7
1 changed files with 3 additions and 0 deletions
|
@ -69,6 +69,7 @@ void Player::Init(LuaState &lua)
|
||||||
"resurrect", &Player::resurrect,
|
"resurrect", &Player::resurrect,
|
||||||
"jail", &Player::jail,
|
"jail", &Player::jail,
|
||||||
"werewolf", sol::property(&Player::getWerewolfState, &Player::setWerewolfState),
|
"werewolf", sol::property(&Player::getWerewolfState, &Player::setWerewolfState),
|
||||||
|
"scale", sol::property(&Player::getScale, &Player::setScale),
|
||||||
|
|
||||||
"getAttribute", &Player::getAttribute,
|
"getAttribute", &Player::getAttribute,
|
||||||
"setAttribute", &Player::setAttribute,
|
"setAttribute", &Player::setAttribute,
|
||||||
|
@ -96,6 +97,8 @@ void Player::Init(LuaState &lua)
|
||||||
"setMarkRotation", &Player::setMarkRotation,
|
"setMarkRotation", &Player::setMarkRotation,
|
||||||
"getMarkCell", &Player::getMarkCell,
|
"getMarkCell", &Player::getMarkCell,
|
||||||
"setMarkCell", &Player::setMarkCell,
|
"setMarkCell", &Player::setMarkCell,
|
||||||
|
"getSelectedSpell", &Player::getSelectedSpell,
|
||||||
|
"setSelectedSpell", &Player::setSelectedSpell,
|
||||||
|
|
||||||
"getCellState", &Player::getCellState,
|
"getCellState", &Player::getCellState,
|
||||||
"cellStateSize", &Player::cellStateSize,
|
"cellStateSize", &Player::cellStateSize,
|
||||||
|
|
Loading…
Reference in a new issue