openmw-tes3coop/apps/openmw-mp
Koncord c27351c19e Implement inventory functions
AddItem, RemoveItem, GetItemName, GetItemCount, GetItemHealth, GetInventorySize SendInventory
Example:
```lua
tes3mp.AddItem(pid, "glass dagger", 1, 50)
tes3mp.AddItem(pid, "glass dagger", 1, -1)
tes3mp.SendInventory(pid)
tes3mp.RemoveItem(pid, "glass dagger", 1)
tes3mp.SendInventory(pid)
local invSize = tes3mp.GetInventorySize(pid) - 1
for i = 0, invSize do
    print(("%s %d %d"):format(tes3mp.GetItemName(pid, i), tes3mp.GetItemCount(pid, i), tes3mp.GetItemHealth(pid, i)))
end
```
2016-10-23 02:57:49 +08:00
..
amx DIE TABS, DIE!!!!!!!1 2016-09-04 17:39:08 +08:00
Script Implement inventory functions 2016-10-23 02:57:49 +08:00
CMakeLists.txt Time API 2016-08-30 13:24:42 +08:00
main.cpp Call LOG_QUIT after Networking's dtor call 2016-09-30 18:16:09 +08:00
MasterClient.cpp Make formatting consistent, part 2 2016-08-17 18:20:36 +03:00
MasterClient.hpp Fix headers 2016-08-15 21:15:36 +08:00
Networking.cpp Implement inventory functions 2016-10-23 02:57:49 +08:00
Networking.hpp Fix maximum connections 2016-08-19 08:18:25 +08:00
Player.cpp Detecting reason of death 2016-10-08 15:15:43 +08:00
Player.hpp Implement inventory functions 2016-10-23 02:57:49 +08:00
Utils.cpp DIE TABS, DIE!!!!!!!1 2016-09-04 17:39:08 +08:00
Utils.hpp Implement 'setenv' for windows 2016-08-02 17:32:10 +08:00