mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-21 22:24:21 +00:00
Compare commits
4 Commits
issue-1339
...
chore--mou
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf5169baea | ||
|
|
ccc029424c | ||
|
|
73bcb949d7 | ||
|
|
d079f3621b |
@@ -613,13 +613,14 @@ void Entity::Initialize() {
|
|||||||
|
|
||||||
if (rebuildResetTime != 0.0f) {
|
if (rebuildResetTime != 0.0f) {
|
||||||
quickBuildComponent->SetResetTime(rebuildResetTime);
|
quickBuildComponent->SetResetTime(rebuildResetTime);
|
||||||
|
}
|
||||||
|
|
||||||
// Known bug with moving platform in FV that casues it to build at the end instead of the start.
|
const auto objectID = GetObjectID();
|
||||||
// This extends the smash time so players can ride up the lift.
|
// FV tree handler for when built so it sets the state to moving at the correct time
|
||||||
if (m_TemplateID == 9483) {
|
if (GetLOT() == 9483) quickBuildComponent->AddQuickBuildCompleteCallback([objectID](Entity* user) {
|
||||||
quickBuildComponent->SetResetTime(quickBuildComponent->GetResetTime() + 25);
|
auto* const entity = Game::entityManager->GetEntity(objectID);
|
||||||
}
|
if (entity) GameMessages::SendPlatformResync(entity, UNASSIGNED_SYSTEM_ADDRESS, false, 0, 1, 1, eMovementPlatformState::Moving, true);
|
||||||
}
|
});
|
||||||
|
|
||||||
const auto activityID = GetVar<int32_t>(u"activityID");
|
const auto activityID = GetVar<int32_t>(u"activityID");
|
||||||
|
|
||||||
|
|||||||
@@ -984,9 +984,6 @@ void InventoryComponent::UnequipScripts(Item* unequippedItem) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void InventoryComponent::HandlePossession(Item* item) {
|
void InventoryComponent::HandlePossession(Item* item) {
|
||||||
auto* characterComponent = m_Parent->GetComponent<CharacterComponent>();
|
|
||||||
if (!characterComponent) return;
|
|
||||||
|
|
||||||
auto* possessorComponent = m_Parent->GetComponent<PossessorComponent>();
|
auto* possessorComponent = m_Parent->GetComponent<PossessorComponent>();
|
||||||
if (!possessorComponent) return;
|
if (!possessorComponent) return;
|
||||||
|
|
||||||
@@ -1002,52 +999,31 @@ void InventoryComponent::HandlePossession(Item* item) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
GameMessages::SendSetStunned(m_Parent->GetObjectID(), eStateChangeType::PUSH, m_Parent->GetSystemAddress(), LWOOBJID_EMPTY, true, false, true, false, false, false, false, true, true, true, true, true, true, true, true, true);
|
// Set the mount item ID so that we know what we're handling
|
||||||
|
|
||||||
// Set the mount Item ID so that we know what were handling
|
|
||||||
possessorComponent->SetMountItemID(item->GetId());
|
possessorComponent->SetMountItemID(item->GetId());
|
||||||
GameMessages::SendSetMountInventoryID(m_Parent, item->GetId(), UNASSIGNED_SYSTEM_ADDRESS);
|
GameMessages::SendSetMountInventoryID(m_Parent, item->GetId(), UNASSIGNED_SYSTEM_ADDRESS);
|
||||||
|
|
||||||
// Create entity to mount
|
// Create the mount entity
|
||||||
auto startRotation = m_Parent->GetRotation();
|
|
||||||
|
|
||||||
EntityInfo info{};
|
EntityInfo info{};
|
||||||
info.lot = item->GetLot();
|
info.lot = item->GetLot();
|
||||||
info.pos = m_Parent->GetPosition();
|
info.pos = m_Parent->GetPosition();
|
||||||
info.rot = startRotation;
|
info.rot = m_Parent->GetRotation();
|
||||||
info.spawnerID = m_Parent->GetObjectID();
|
info.spawnerID = m_Parent->GetObjectID();
|
||||||
|
|
||||||
auto* mount = Game::entityManager->CreateEntity(info, nullptr, m_Parent);
|
auto* mount = Game::entityManager->CreateEntity(info, nullptr, m_Parent);
|
||||||
|
|
||||||
// Check to see if the mount is a vehicle, if so, flip it
|
|
||||||
auto* vehicleComponent = mount->GetComponent<HavokVehiclePhysicsComponent>();
|
|
||||||
if (vehicleComponent) characterComponent->SetIsRacing(true);
|
|
||||||
|
|
||||||
// Setup the destroyable stats
|
|
||||||
auto* destroyableComponent = mount->GetComponent<DestroyableComponent>();
|
|
||||||
if (destroyableComponent) {
|
|
||||||
destroyableComponent->SetIsImmune(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Mount it
|
|
||||||
auto* possessableComponent = mount->GetComponent<PossessableComponent>();
|
auto* possessableComponent = mount->GetComponent<PossessableComponent>();
|
||||||
if (possessableComponent) {
|
if (possessableComponent) {
|
||||||
possessableComponent->SetIsItemSpawned(true);
|
possessableComponent->SetIsItemSpawned(true);
|
||||||
possessableComponent->SetPossessor(m_Parent->GetObjectID());
|
possessableComponent->SetPossessor(m_Parent->GetObjectID());
|
||||||
// Possess it
|
|
||||||
possessorComponent->SetPossessable(mount->GetObjectID());
|
|
||||||
possessorComponent->SetPossessableType(possessableComponent->GetPossessionType());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GameMessages::SendSetJetPackMode(m_Parent, false);
|
auto* destroyableComponent = mount->GetComponent<DestroyableComponent>();
|
||||||
|
if (destroyableComponent) destroyableComponent->SetIsImmune(true);
|
||||||
|
|
||||||
// Make it go to the client
|
|
||||||
Game::entityManager->ConstructEntity(mount);
|
Game::entityManager->ConstructEntity(mount);
|
||||||
// Update the possessor
|
possessorComponent->Mount(mount);
|
||||||
Game::entityManager->SerializeEntity(m_Parent);
|
|
||||||
|
|
||||||
// have to unlock the input so it vehicle can be driven
|
|
||||||
if (vehicleComponent) GameMessages::SendVehicleUnlockInput(mount->GetObjectID(), false, m_Parent->GetSystemAddress());
|
|
||||||
GameMessages::SendMarkInventoryItemAsActive(m_Parent->GetObjectID(), true, eUnequippableActiveType::MOUNT, item->GetId(), m_Parent->GetSystemAddress());
|
GameMessages::SendMarkInventoryItemAsActive(m_Parent->GetObjectID(), true, eUnequippableActiveType::MOUNT, item->GetId(), m_Parent->GetSystemAddress());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ PossessableComponent::PossessableComponent(Entity* parent, const int32_t compone
|
|||||||
m_AnimationFlag = static_cast<eAnimationFlags>(item.animationFlag);
|
m_AnimationFlag = static_cast<eAnimationFlags>(item.animationFlag);
|
||||||
|
|
||||||
// Get the possession Type from the CDClient
|
// Get the possession Type from the CDClient
|
||||||
auto query = CDClientDatabase::CreatePreppedStmt("SELECT possessionType, depossessOnHit FROM PossessableComponent WHERE id = ?;");
|
auto query = CDClientDatabase::CreatePreppedStmt("SELECT possessionType, depossessOnHit, skillSet FROM PossessableComponent WHERE id = ?;");
|
||||||
|
|
||||||
query.bind(1, static_cast<int>(componentID));
|
query.bind(1, static_cast<int>(componentID));
|
||||||
|
|
||||||
@@ -20,6 +20,7 @@ PossessableComponent::PossessableComponent(Entity* parent, const int32_t compone
|
|||||||
if (!result.eof()) {
|
if (!result.eof()) {
|
||||||
m_PossessionType = static_cast<ePossessionType>(result.getIntField("possessionType", 1)); // Default to Attached Visible
|
m_PossessionType = static_cast<ePossessionType>(result.getIntField("possessionType", 1)); // Default to Attached Visible
|
||||||
m_DepossessOnHit = static_cast<bool>(result.getIntField("depossessOnHit", 0));
|
m_DepossessOnHit = static_cast<bool>(result.getIntField("depossessOnHit", 0));
|
||||||
|
m_SkillSet = result.getIntField("skillSet", 0);
|
||||||
} else {
|
} else {
|
||||||
m_PossessionType = ePossessionType::ATTACHED_VISIBLE;
|
m_PossessionType = ePossessionType::ATTACHED_VISIBLE;
|
||||||
m_DepossessOnHit = false;
|
m_DepossessOnHit = false;
|
||||||
|
|||||||
@@ -55,6 +55,12 @@ public:
|
|||||||
*/
|
*/
|
||||||
bool GetDepossessOnHit() const { return m_DepossessOnHit; };
|
bool GetDepossessOnHit() const { return m_DepossessOnHit; };
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the skill set ID for this possessable (0 = no skill set)
|
||||||
|
* @return the skill set ID
|
||||||
|
*/
|
||||||
|
int32_t GetSkillSet() const { return m_SkillSet; };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Forcibly depossess the Entity
|
* Forcibly depossess the Entity
|
||||||
*/
|
*/
|
||||||
@@ -118,4 +124,9 @@ private:
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
bool m_ItemSpawned = false;
|
bool m_ItemSpawned = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Skill set ID from PossessableComponent CDClient table (0 = none)
|
||||||
|
*/
|
||||||
|
int32_t m_SkillSet = 0;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
#include "PossessorComponent.h"
|
#include "PossessorComponent.h"
|
||||||
#include "PossessableComponent.h"
|
#include "PossessableComponent.h"
|
||||||
#include "CharacterComponent.h"
|
#include "CharacterComponent.h"
|
||||||
|
#include "HavokVehiclePhysicsComponent.h"
|
||||||
#include "EntityManager.h"
|
#include "EntityManager.h"
|
||||||
#include "GameMessages.h"
|
#include "GameMessages.h"
|
||||||
#include "eUnequippableActiveType.h"
|
#include "eUnequippableActiveType.h"
|
||||||
#include "eControlScheme.h"
|
|
||||||
#include "eStateChangeType.h"
|
|
||||||
|
|
||||||
PossessorComponent::PossessorComponent(Entity* parent, const int32_t componentID) : Component(parent, componentID) {
|
PossessorComponent::PossessorComponent(Entity* parent, const int32_t componentID) : Component(parent, componentID) {
|
||||||
m_Possessable = LWOOBJID_EMPTY;
|
m_Possessable = LWOOBJID_EMPTY;
|
||||||
@@ -42,21 +41,27 @@ void PossessorComponent::Mount(Entity* mount) {
|
|||||||
// Don't do anything if we are busy dismounting
|
// Don't do anything if we are busy dismounting
|
||||||
if (GetIsDismounting() || !mount) return;
|
if (GetIsDismounting() || !mount) return;
|
||||||
|
|
||||||
GameMessages::SendSetMountInventoryID(m_Parent, mount->GetObjectID(), UNASSIGNED_SYSTEM_ADDRESS);
|
|
||||||
auto* possessableComponent = mount->GetComponent<PossessableComponent>();
|
auto* possessableComponent = mount->GetComponent<PossessableComponent>();
|
||||||
if (possessableComponent) {
|
if (possessableComponent) {
|
||||||
possessableComponent->SetPossessor(m_Parent->GetObjectID());
|
possessableComponent->SetPossessor(m_Parent->GetObjectID());
|
||||||
SetPossessable(mount->GetObjectID());
|
SetPossessable(mount->GetObjectID());
|
||||||
SetPossessableType(possessableComponent->GetPossessionType());
|
SetPossessableType(possessableComponent->GetPossessionType());
|
||||||
|
if (possessableComponent->GetSkillSet() != 0) {
|
||||||
|
GameMessages::UseSkillSet useSkillSet;
|
||||||
|
useSkillSet.target = m_Parent->GetObjectID();
|
||||||
|
useSkillSet.possessedId = mount->GetObjectID();
|
||||||
|
useSkillSet.setId = possessableComponent->GetSkillSet();
|
||||||
|
useSkillSet.Send(m_Parent->GetSystemAddress());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
auto characterComponent = m_Parent->GetComponent<CharacterComponent>();
|
|
||||||
if (characterComponent) characterComponent->SetIsRacing(true);
|
|
||||||
|
|
||||||
// GM's to send
|
// GM's to send
|
||||||
GameMessages::SendSetJetPackMode(m_Parent, false);
|
GameMessages::SendSetJetPackMode(m_Parent, false);
|
||||||
|
if (mount->GetComponent<HavokVehiclePhysicsComponent>()) {
|
||||||
|
auto characterComponent = m_Parent->GetComponent<CharacterComponent>();
|
||||||
|
if (characterComponent) characterComponent->SetIsRacing(true);
|
||||||
GameMessages::SendVehicleUnlockInput(mount->GetObjectID(), false, m_Parent->GetSystemAddress());
|
GameMessages::SendVehicleUnlockInput(mount->GetObjectID(), false, m_Parent->GetSystemAddress());
|
||||||
GameMessages::SendSetStunned(m_Parent->GetObjectID(), eStateChangeType::PUSH, m_Parent->GetSystemAddress(), LWOOBJID_EMPTY, true, false, true, false, false, false, false, true, true, true, true, true, true, true, true, true);
|
}
|
||||||
|
|
||||||
Game::entityManager->SerializeEntity(m_Parent);
|
Game::entityManager->SerializeEntity(m_Parent);
|
||||||
Game::entityManager->SerializeEntity(mount);
|
Game::entityManager->SerializeEntity(mount);
|
||||||
@@ -72,13 +77,21 @@ void PossessorComponent::Dismount(Entity* mount, bool forceDismount) {
|
|||||||
if (possessableComponent) {
|
if (possessableComponent) {
|
||||||
possessableComponent->SetPossessor(LWOOBJID_EMPTY);
|
possessableComponent->SetPossessor(LWOOBJID_EMPTY);
|
||||||
if (forceDismount) possessableComponent->ForceDepossess();
|
if (forceDismount) possessableComponent->ForceDepossess();
|
||||||
|
if (possessableComponent->GetSkillSet() != 0) {
|
||||||
|
GameMessages::UseSkillSet useSkillSet;
|
||||||
|
useSkillSet.target = m_Parent->GetObjectID();
|
||||||
|
useSkillSet.possessedId = mount->GetObjectID();
|
||||||
|
useSkillSet.setId = possessableComponent->GetSkillSet();
|
||||||
|
useSkillSet.bRemove = true;
|
||||||
|
useSkillSet.Send(m_Parent->GetSystemAddress());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Game::entityManager->SerializeEntity(m_Parent);
|
Game::entityManager->SerializeEntity(m_Parent);
|
||||||
Game::entityManager->SerializeEntity(mount);
|
Game::entityManager->SerializeEntity(mount);
|
||||||
|
|
||||||
|
if (mount->GetComponent<HavokVehiclePhysicsComponent>()) {
|
||||||
auto characterComponent = m_Parent->GetComponent<CharacterComponent>();
|
auto characterComponent = m_Parent->GetComponent<CharacterComponent>();
|
||||||
if (characterComponent) characterComponent->SetIsRacing(false);
|
if (characterComponent) characterComponent->SetIsRacing(false);
|
||||||
}
|
}
|
||||||
// Make sure we don't have wacky controls
|
}
|
||||||
GameMessages::SendSetPlayerControlScheme(m_Parent, eControlScheme::SCHEME_A);
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -366,18 +366,19 @@ void GameMessages::SendResetMissions(Entity* entity, const SystemAddress& sysAdd
|
|||||||
|
|
||||||
void GameMessages::SendPlatformResync(Entity* entity, const SystemAddress& sysAddr, bool bStopAtDesiredWaypoint,
|
void GameMessages::SendPlatformResync(Entity* entity, const SystemAddress& sysAddr, bool bStopAtDesiredWaypoint,
|
||||||
int iIndex, int iDesiredWaypointIndex, int nextIndex,
|
int iIndex, int iDesiredWaypointIndex, int nextIndex,
|
||||||
eMovementPlatformState movementState) {
|
eMovementPlatformState movementState, bool special) {
|
||||||
CBITSTREAM;
|
CBITSTREAM;
|
||||||
CMSGHEADER;
|
CMSGHEADER;
|
||||||
|
|
||||||
|
const auto objID = entity->GetObjectID();
|
||||||
const auto lot = entity->GetLOT();
|
const auto lot = entity->GetLOT();
|
||||||
|
|
||||||
if (lot == 12341 || lot == 5027 || lot == 5028 || lot == 14335 || lot == 14447 || lot == 14449 || lot == 11306 || lot == 11308) {
|
if (lot == 12341 || lot == 5027 || lot == 5028 || lot == 14335 || lot == 14447 || lot == 14449 || lot == 11306 || lot == 11308 || lot == 9483) {
|
||||||
iDesiredWaypointIndex = (lot == 11306 || lot == 11308) ? 1 : 0;
|
iDesiredWaypointIndex = (lot == 11306 || lot == 11308) ? 1 : 0;
|
||||||
iIndex = 0;
|
iIndex = lot == 9483 ? 1 : 0;
|
||||||
nextIndex = 0;
|
nextIndex = lot == 9483 && !special ? 1 : 0;
|
||||||
bStopAtDesiredWaypoint = true;
|
bStopAtDesiredWaypoint = true;
|
||||||
movementState = eMovementPlatformState::Stationary;
|
movementState = lot == 9483 && !special ? eMovementPlatformState::Stopped : eMovementPlatformState::Stationary;
|
||||||
}
|
}
|
||||||
|
|
||||||
bitStream.Write(entity->GetObjectID());
|
bitStream.Write(entity->GetObjectID());
|
||||||
@@ -3943,11 +3944,19 @@ void GameMessages::SendSetMountInventoryID(Entity* entity, const LWOOBJID& objec
|
|||||||
CMSGHEADER;
|
CMSGHEADER;
|
||||||
bitStream.Write(entity->GetObjectID());
|
bitStream.Write(entity->GetObjectID());
|
||||||
bitStream.Write(MessageType::Game::SET_MOUNT_INVENTORY_ID);
|
bitStream.Write(MessageType::Game::SET_MOUNT_INVENTORY_ID);
|
||||||
bitStream.Write(objectID);
|
bitStream.Write(objectID != LWOOBJID_EMPTY);
|
||||||
|
if (objectID != LWOOBJID_EMPTY) bitStream.Write(objectID);
|
||||||
|
|
||||||
SEND_PACKET_BROADCAST;
|
SEND_PACKET_BROADCAST;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void GameMessages::UseSkillSet::Serialize(RakNet::BitStream& bitStream) const {
|
||||||
|
bitStream.Write(bRemove);
|
||||||
|
bitStream.Write(possessedId != LWOOBJID_EMPTY);
|
||||||
|
if (possessedId != LWOOBJID_EMPTY) bitStream.Write(possessedId);
|
||||||
|
bitStream.Write(setId != -1);
|
||||||
|
if (setId != -1) bitStream.Write(setId);
|
||||||
|
}
|
||||||
|
|
||||||
void GameMessages::HandleDismountComplete(RakNet::BitStream& inStream, Entity* entity, const SystemAddress& sysAddr) {
|
void GameMessages::HandleDismountComplete(RakNet::BitStream& inStream, Entity* entity, const SystemAddress& sysAddr) {
|
||||||
// Get the objectID from the bitstream
|
// Get the objectID from the bitstream
|
||||||
@@ -3983,9 +3992,6 @@ void GameMessages::HandleDismountComplete(RakNet::BitStream& inStream, Entity* e
|
|||||||
|
|
||||||
// Update the entity that was possessing
|
// Update the entity that was possessing
|
||||||
Game::entityManager->SerializeEntity(entity);
|
Game::entityManager->SerializeEntity(entity);
|
||||||
|
|
||||||
// We aren't mounted so remove the stun
|
|
||||||
GameMessages::SendSetStunned(entity->GetObjectID(), eStateChangeType::POP, UNASSIGNED_SYSTEM_ADDRESS, LWOOBJID_EMPTY, true, false, true, false, false, false, false, true, true, true, true, true, true, true, true, true);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3993,11 +3999,15 @@ void GameMessages::HandleDismountComplete(RakNet::BitStream& inStream, Entity* e
|
|||||||
|
|
||||||
void GameMessages::HandleAcknowledgePossession(RakNet::BitStream& inStream, Entity* entity, const SystemAddress& sysAddr) {
|
void GameMessages::HandleAcknowledgePossession(RakNet::BitStream& inStream, Entity* entity, const SystemAddress& sysAddr) {
|
||||||
Game::entityManager->SerializeEntity(entity);
|
Game::entityManager->SerializeEntity(entity);
|
||||||
|
bool hasObjectId{};
|
||||||
|
inStream.Read(hasObjectId);
|
||||||
|
if (hasObjectId) {
|
||||||
LWOOBJID objectId{};
|
LWOOBJID objectId{};
|
||||||
inStream.Read(objectId);
|
inStream.Read(objectId);
|
||||||
auto* mount = Game::entityManager->GetEntity(objectId);
|
auto* mount = Game::entityManager->GetEntity(objectId);
|
||||||
if (mount) Game::entityManager->SerializeEntity(mount);
|
if (mount) Game::entityManager->SerializeEntity(mount);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//Racing
|
//Racing
|
||||||
|
|
||||||
|
|||||||
@@ -103,9 +103,11 @@ namespace GameMessages {
|
|||||||
void SendPlayNDAudioEmitter(Entity* entity, const SystemAddress& sysAddr, std::string audioGUID);
|
void SendPlayNDAudioEmitter(Entity* entity, const SystemAddress& sysAddr, std::string audioGUID);
|
||||||
|
|
||||||
void SendStartPathing(Entity* entity);
|
void SendStartPathing(Entity* entity);
|
||||||
|
|
||||||
|
// special is for the FV tree platform, feature is complete if we just do that so meh
|
||||||
void SendPlatformResync(Entity* entity, const SystemAddress& sysAddr, bool bStopAtDesiredWaypoint = false,
|
void SendPlatformResync(Entity* entity, const SystemAddress& sysAddr, bool bStopAtDesiredWaypoint = false,
|
||||||
int iIndex = 0, int iDesiredWaypointIndex = 1, int nextIndex = 1,
|
int iIndex = 0, int iDesiredWaypointIndex = 1, int nextIndex = 1,
|
||||||
eMovementPlatformState movementState = eMovementPlatformState::Moving);
|
eMovementPlatformState movementState = eMovementPlatformState::Moving, bool special = false);
|
||||||
|
|
||||||
void SendResetMissions(Entity* entity, const SystemAddress& sysAddr, const int32_t missionid = -1);
|
void SendResetMissions(Entity* entity, const SystemAddress& sysAddr, const int32_t missionid = -1);
|
||||||
void SendRestoreToPostLoadStats(Entity* entity, const SystemAddress& sysAddr);
|
void SendRestoreToPostLoadStats(Entity* entity, const SystemAddress& sysAddr);
|
||||||
@@ -963,6 +965,15 @@ namespace GameMessages {
|
|||||||
LWOOBJID childID{};
|
LWOOBJID childID{};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct UseSkillSet : public GameMsg {
|
||||||
|
UseSkillSet() : GameMsg(MessageType::Game::USE_SKILL_SET) {}
|
||||||
|
void Serialize(RakNet::BitStream& bitStream) const override;
|
||||||
|
|
||||||
|
bool bRemove{};
|
||||||
|
LWOOBJID possessedId{ LWOOBJID_EMPTY };
|
||||||
|
int32_t setId{ -1 };
|
||||||
|
};
|
||||||
|
|
||||||
struct ObjectLoaded : public GameMsg {
|
struct ObjectLoaded : public GameMsg {
|
||||||
ObjectLoaded() : GameMsg(MessageType::Game::OBJECT_LOADED) {}
|
ObjectLoaded() : GameMsg(MessageType::Game::OBJECT_LOADED) {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user