Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
1.0 kB · 43 lines
C
at main
12345678910111213141516171819202122232425262728293031323334353637383940414243#pragma once#include "..\Minecraft.World\ProgressListener.h"
class ProgressRenderer : public ProgressListener{public: enum eProgressStringType { eProgressStringType_ID, eProgressStringType_String, // 4J-PB added for updating the bytes read on a save transfer };
static CRITICAL_SECTION s_progress;
int getCurrentPercent(); int getCurrentTitle(); int getCurrentStatus(); wstring& getProgressString(void); ProgressRenderer::eProgressStringType getType();
private: int lastPercent;
private: int status; Minecraft *minecraft; int title; __int64 lastTime; bool noAbort; wstring m_wstrText; eProgressStringType m_eType;
void setType(eProgressStringType eType);
public: ProgressRenderer(Minecraft *minecraft); virtual void progressStart(int title); virtual void progressStartNoAbort(int string); void _progressStart(int title); virtual void progressStage(int status); virtual void progressStage(wstring &wstrText); virtual void progressStagePercentage(int i);};