mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-14 15:57:13 +00:00
Minigame control (50) is an activity component in the client (LWOMinigameComponent) and is made from the registry, so the zone control object (LOT 2365, registry id 0) has one; it sends what an activity sends (dirty, no players), not a fixed 0x40000000 (which nothing sent: the old id > 0 check never made it). The zone's script on that object is server only: the client makes no script component for it, so it sends nothing. DLU's zone control construction now equals live's byte for byte (209 captures, e.g. GruntMonkey world2); the decoder reads 50 as an activity. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
649 B
C++
19 lines
649 B
C++
#ifndef __MINIGAMECONTROLCOMPONENT__H__
|
|
#define __MINIGAMECONTROLCOMPONENT__H__
|
|
|
|
#include "ActivityComponent.h"
|
|
#include "eReplicaComponentType.h"
|
|
|
|
/**
|
|
* Minigame control (50), the zone control object's: an activity component as in the client (LWOMinigameComponent),
|
|
* which also sends what an activity sends.
|
|
*/
|
|
class MiniGameControlComponent final : public ActivityComponent {
|
|
public:
|
|
static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::MINI_GAME_CONTROL;
|
|
|
|
MiniGameControlComponent(Entity* parent, const int32_t componentID) : ActivityComponent(parent, componentID) {}
|
|
};
|
|
|
|
#endif //!__MINIGAMECONTROLCOMPONENT__H__
|