DarkflameServer/dGame/dBehaviors/VentureVisionBehavior.h
David Markowitz cc25ec0151
Add Venture Vision Behavior (#609)
Add the Venture Vision behavior and associated functionality.  Pet digs still do not show up however.

The Kit bonus for factions have been tested and properly grant and take away the buff when it is casted and uncasted.  Tested as well using multiple Venture Vision behaviors at once and the vision only went away when there were zero equipped at once.

Remove extra includes

Convert to Tabs

Remove extra forward declaration
2022-07-04 21:48:56 -07:00

42 lines
892 B
C++

#pragma once
#ifndef __VENTUREVISIONBEHAVIOR__H__
#define __VENTUREVISIONBEHAVIOR__H__
#include "Behavior.h"
class VentureVisionBehavior final : public Behavior
{
public:
bool m_show_pet_digs;
bool m_show_minibosses;
bool m_show_collectibles;
const std::string m_ShowCollectibles = "bShowCollectibles";
const std::string m_ShowMiniBosses = "bShowMiniBosses";
const std::string m_ShowPetDigs = "bShowPetDigs";
/*
* Inherited
*/
explicit VentureVisionBehavior(const uint32_t behaviorId) : Behavior(behaviorId)
{
}
void Handle(BehaviorContext* context, RakNet::BitStream* bitStream, BehaviorBranchContext branch) override;
void UnCast(BehaviorContext* context, BehaviorBranchContext branch) override;
void Timer(BehaviorContext* context, BehaviorBranchContext branch, LWOOBJID second) override;
void Load() override;
};
#endif //!__VENTUREVISIONBEHAVIOR__H__