mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-26 15:33:34 +00:00
some tweaks
This commit is contained in:
parent
dc96fcba85
commit
907e045904
@ -1,6 +1,6 @@
|
|||||||
#include "VendorComponent.h"
|
#include "VendorComponent.h"
|
||||||
|
|
||||||
#include <BitStream.h>
|
#include "BitStream.h"
|
||||||
|
|
||||||
#include "Game.h"
|
#include "Game.h"
|
||||||
#include "dServer.h"
|
#include "dServer.h"
|
||||||
|
@ -279,6 +279,9 @@ void Entity::Initialize() {
|
|||||||
break;
|
break;
|
||||||
case eReplicaComponentType::VENDOR:
|
case eReplicaComponentType::VENDOR:
|
||||||
AddComponent<VendorComponent>();
|
AddComponent<VendorComponent>();
|
||||||
|
if (!HasComponent(eReplicaComponentType::PROXIMITY_MONITOR)) {
|
||||||
|
AddComponent<ProximityMonitorComponent>();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case eReplicaComponentType::INVENTORY:
|
case eReplicaComponentType::INVENTORY:
|
||||||
AddComponent<InventoryComponent>();
|
AddComponent<InventoryComponent>();
|
||||||
@ -409,6 +412,12 @@ void Entity::Initialize() {
|
|||||||
case eReplicaComponentType::BUILD_BORDER:
|
case eReplicaComponentType::BUILD_BORDER:
|
||||||
AddComponent<BuildBorderComponent>();
|
AddComponent<BuildBorderComponent>();
|
||||||
break;
|
break;
|
||||||
|
case eReplicaComponentType::DONATION_VENDOR:
|
||||||
|
AddComponent<DonationVendorComponent>();
|
||||||
|
if (!HasComponent(eReplicaComponentType::PROXIMITY_MONITOR)) {
|
||||||
|
AddComponent<ProximityMonitorComponent>();
|
||||||
|
}
|
||||||
|
break;
|
||||||
case eReplicaComponentType::GHOST:
|
case eReplicaComponentType::GHOST:
|
||||||
case eReplicaComponentType::SPAWN:
|
case eReplicaComponentType::SPAWN:
|
||||||
case eReplicaComponentType::MODULAR_BUILD:
|
case eReplicaComponentType::MODULAR_BUILD:
|
||||||
@ -469,9 +478,6 @@ void Entity::Initialize() {
|
|||||||
case eReplicaComponentType::USER_CONTROL:
|
case eReplicaComponentType::USER_CONTROL:
|
||||||
case eReplicaComponentType::IGNORE_LIST:
|
case eReplicaComponentType::IGNORE_LIST:
|
||||||
case eReplicaComponentType::INTERACTION_MANAGER:
|
case eReplicaComponentType::INTERACTION_MANAGER:
|
||||||
case eReplicaComponentType::DONATION_VENDOR:
|
|
||||||
AddComponent<DonationVendorComponent>();
|
|
||||||
break;
|
|
||||||
case eReplicaComponentType::COMBAT_MEDIATOR:
|
case eReplicaComponentType::COMBAT_MEDIATOR:
|
||||||
case eReplicaComponentType::ACHIEVEMENT_VENDOR:
|
case eReplicaComponentType::ACHIEVEMENT_VENDOR:
|
||||||
case eReplicaComponentType::GATE_RUSH_CONTROL:
|
case eReplicaComponentType::GATE_RUSH_CONTROL:
|
||||||
|
Loading…
Reference in New Issue
Block a user