mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-25 12:39:40 +00:00
[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,
|
||||
"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,
|
||||
|
|
Loading…
Reference in a new issue