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
5
namespace
nanommo
{
6
7
protocol::Place
InBag
(uint32_t slot) {
8
protocol::Place place;
9
place.set_bag(slot);
10
return
place;
11
}
12
13
protocol::Place
Worn
(items::Slot slot) {
14
protocol::Place place;
15
place.set_worn(slot);
16
return
place;
17
}
18
19
}
// namespace nanommo
nanommo
Definition
chat.cc:9
nanommo::Worn
protocol::Place Worn(items::Slot slot)
A slot that's worn.
Definition
places.cc:13
nanommo::InBag
protocol::Place InBag(uint32_t slot)
A place in the bag, by its slot from zero.
Definition
places.cc:7
places.h
protocol
places.cc
Generated by
1.15.0