[Repositories] Use repositories to load doors (#1572)

Remove Door struct that was being used to map db columns
This commit is contained in:
hg authored and GitHub committed 2021-10-01 22:09:40 -05:00
1 parent 3883adcefc
commit 00a22ca12e
6 files changed
+80 -202

No files matched your search

+2 -1
View File
@@ -1,6 +1,7 @@
#ifndef DOORS_H
#define DOORS_H
#include "../common/repositories/doors_repository.h"
#include "../common/emu_opcodes.h"
#include "../common/eq_packet_structs.h"
#include "../common/linked_list.h"
@@ -19,7 +20,7 @@ public:
~Doors();
Doors(const char *model, const glm::vec4& position, uint8 open_type = 58, uint16 size = 100);
Doors(const Door* door);
Doors(const DoorsRepository::Doors& door);
bool GetDisableTimer() { return disable_timer; }
bool IsDoor() const { return true; }