You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3mp/apps/openmw/mwmp
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
```
8 years ago
..
DedicatedPlayer.cpp Show dedicated players on minimap 8 years ago
DedicatedPlayer.hpp Show dedicated players on minimap 8 years ago
GUIChat.cpp Add some verbose messages for chat 8 years ago
GUIChat.hpp Add chat messages to log in client 8 years ago
GUIController.cpp Show dedicated players on minimap 8 years ago
GUIController.hpp Show dedicated players on minimap 8 years ago
GUILogin.cpp Syncing inventory, animations, position, 8 key attributes 9 years ago
GUILogin.hpp Syncing inventory, animations, position, 8 key attributes 9 years ago
LocalPlayer.cpp Implement inventory functions 8 years ago
LocalPlayer.hpp Implement inventory functions 8 years ago
Main.cpp Fix use of freed memory 8 years ago
Main.hpp New auth protocol 8 years ago
Networking.cpp Implement inventory functions 8 years ago
Networking.hpp Rename BasePacket into PlayerPacket 8 years ago
PlayerMarkerCollection.cpp Show dedicated players on minimap 8 years ago
PlayerMarkerCollection.hpp Show dedicated players on minimap 8 years ago