mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-21 21:53:51 +00:00
Initial commit
This commit is contained in:
parent
def8cb4153
commit
b691c43c44
19437 changed files with 4363922 additions and 0 deletions
19
Minecraft.Client/Common/Tutorial/EffectChangedTask.h
Normal file
19
Minecraft.Client/Common/Tutorial/EffectChangedTask.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
using namespace std;
|
||||
|
||||
#include "TutorialTask.h"
|
||||
|
||||
class MobEffect;
|
||||
|
||||
class EffectChangedTask : public TutorialTask
|
||||
{
|
||||
private:
|
||||
MobEffect *m_effect;
|
||||
bool m_apply;
|
||||
|
||||
public:
|
||||
EffectChangedTask(Tutorial *tutorial, int descriptionId, MobEffect *effect, bool apply = true,
|
||||
bool enablePreCompletion = true, bool bShowMinimumTime = false, bool bAllowFade = true, bool bTaskReminders = true );
|
||||
virtual bool isCompleted();
|
||||
virtual void onEffectChanged(MobEffect *effect, bool bRemoved=false);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue