openmw-tes3coop/components/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
..
Base Implement inventory functions 2016-10-23 02:57:49 +08:00
Packets Implement inventory functions 2016-10-23 02:57:49 +08:00
Log.cpp Add LOG_APPEND method for writing to log without timestamp and level 2016-08-18 23:17:46 +03:00
Log.hpp Add LOG_APPEND method for writing to log without timestamp and level 2016-08-18 23:17:46 +03:00
NetworkMessages.hpp Implement inventory functions 2016-10-23 02:57:49 +08:00
PacketsController.cpp Implement inventory functions 2016-10-23 02:57:49 +08:00
PacketsController.hpp Rename BasePacket into PlayerPacket 2016-10-17 15:54:36 +03:00
Version.hpp Set version to 0.2.0 2016-09-30 15:26:55 +03:00