Entities update

This commit is contained in:
Andrew nuark G 2020-12-23 01:30:11 +07:00
parent 4a3951938a
commit 05776f19f3
6 changed files with 18 additions and 7 deletions

View file

@ -164,8 +164,8 @@ void st_test::vessel_entity_serialization_test() {
f.open(QIODevice::WriteOnly);
stream.setDevice(&f);
dpoint_entity test_harbor("test_harbor_for_vessel");
ent1 = vessel_entity(test_harbor.id(), 256);
dpoint_entity test_harbor(0, "test_harbor_for_vessel");
ent1 = vessel_entity(0, test_harbor.id(), 256);
ent1.serialize(stream);
stream.setDevice(nullptr);
@ -265,7 +265,7 @@ void st_test::apparatus_check_auth_subsystem() {
void st_test::apparatus_check_object_subsystem() {
apparatus::init();
auto os = apparatus::instance()->get_object_subsystem();
dpoint_entity p("test");
dpoint_entity p(0, "test");
{
bool test = os->add_dpoint(p);
QVERIFY(test);