nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
places.cc
Go to the documentation of this file.
1#include "protocol/places.h"
2
3#include <cstdint>
4
5namespace nanommo {
6
7protocol::Place InBag(uint32_t slot) {
8 protocol::Place place;
9 place.set_bag(slot);
10 return place;
11}
12
13protocol::Place Worn(items::Slot slot) {
14 protocol::Place place;
15 place.set_worn(slot);
16 return place;
17}
18
19} // namespace nanommo
Definition chat.cc:9
protocol::Place Worn(items::Slot slot)
A slot that's worn.
Definition places.cc:13
protocol::Place InBag(uint32_t slot)
A place in the bag, by its slot from zero.
Definition places.cc:7