cylinder.cpp

main 70 lines · 1.5 KB Raw
Alex Alex Commit Server upload 18/10/2026 23:38
1/**
2 * The Forgotten Server - a free and open-source MMORPG server emulator
3 * Copyright (C) 2019 Mark Samman <mark.samman@gmail.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19
20#include "otpch.h"
21
22#include "cylinder.h"
23
24VirtualCylinder* VirtualCylinder::virtualCylinder = new VirtualCylinder;
25
26int32_t Cylinder::getThingIndex(const Thing*) const
27{
28 return -1;
29}
30
31size_t Cylinder::getFirstIndex() const
32{
33 return 0;
34}
35
36size_t Cylinder::getLastIndex() const
37{
38 return 0;
39}
40
41uint32_t Cylinder::getItemTypeCount(uint16_t, int32_t) const
42{
43 return 0;
44}
45
46std::map<uint32_t, uint32_t>& Cylinder::getAllItemTypeCount(std::map<uint32_t, uint32_t>& countMap) const
47{
48 return countMap;
49}
50
51Thing* Cylinder::getThing(size_t) const
52{
53 return nullptr;
54}
55
56void Cylinder::internalAddThing(Thing*)
57{
58 //
59}
60
61void Cylinder::internalAddThing(uint32_t, Thing*)
62{
63 //
64}
65
66void Cylinder::startDecaying()
67{
68 //
69}
70
Top