mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
shortened method
This commit is contained in:
parent
c94f0918c9
commit
148c177d27
@ -76,33 +76,9 @@ void PropertyEntranceComponent::OnEnterProperty(Entity* entity, uint32_t index,
|
|||||||
launcher->Launch(entity, LWOOBJID_EMPTY, LWOMAPID_INVALID, cloneId);
|
launcher->Launch(entity, LWOOBJID_EMPTY, LWOMAPID_INVALID, cloneId);
|
||||||
}
|
}
|
||||||
|
|
||||||
void PropertyEntranceComponent::OnPropertyEntranceSync(Entity* entity,
|
void PropertyEntranceComponent::OnPropertyEntranceSync(Entity* entity, bool includeNullAddress, bool includeNullDescription, bool playerOwn, bool updateUi, int32_t numResults, int32_t lReputationTime, int32_t sortMethod, int32_t startIndex, std::string filterText, const SystemAddress& sysAddr){
|
||||||
bool includeNullAddress,
|
|
||||||
bool includeNullDescription,
|
|
||||||
bool playerOwn,
|
|
||||||
bool updateUi,
|
|
||||||
int32_t numResults,
|
|
||||||
int32_t lReputationTime,
|
|
||||||
int32_t sortMethod,
|
|
||||||
int32_t startIndex,
|
|
||||||
std::string filterText,
|
|
||||||
const SystemAddress& sysAddr)
|
|
||||||
{
|
|
||||||
Game::logger->Log("PropertyEntranceComponent", "On Sync %d %d %d %d %i %i %i %i %s\n",
|
|
||||||
includeNullAddress,
|
|
||||||
includeNullDescription,
|
|
||||||
playerOwn,
|
|
||||||
updateUi,
|
|
||||||
numResults,
|
|
||||||
lReputationTime,
|
|
||||||
sortMethod,
|
|
||||||
startIndex,
|
|
||||||
filterText.c_str()
|
|
||||||
);
|
|
||||||
|
|
||||||
auto* launchpadComponent = m_Parent->GetComponent<RocketLaunchpadControlComponent>();
|
auto* launchpadComponent = m_Parent->GetComponent<RocketLaunchpadControlComponent>();
|
||||||
if (launchpadComponent == nullptr)
|
if (launchpadComponent == nullptr) return;
|
||||||
return;
|
|
||||||
|
|
||||||
std::vector<PropertySelectQueryProperty> entries {};
|
std::vector<PropertySelectQueryProperty> entries {};
|
||||||
PropertySelectQueryProperty playerEntry {};
|
PropertySelectQueryProperty playerEntry {};
|
||||||
|
Loading…
Reference in New Issue
Block a user