#pragma once //Resource LivePatch¸¦ ÇϱâÀ§ÇÑ °ü¸® Ŭ·¡½º struct TLivePatchItem { bool bIsComplete; int nWatchItemID; bool bPatched; std::wstring wstrItemName; }; struct TLiveReloadItem { bool bReload; bool bReported; int nMID; }; class CLivePatcher { public: CLivePatcher(); ~CLivePatcher(); bool StartPatch(); bool CancelPatch(bool bForce = true); bool IsStarted() { return m_bPatching; } void SetReloadFlag(std::vector &vList); bool SetReloadResult(int nMID, bool bRet, bool &bReloadRet); bool IsReloading(); bool LoadPatchList(TCHAR * pFile); void SendLivePatch(); bool RecvCompleteItem(int nPatchID); private: bool m_bPatching; std::vector m_PatchList; std::vector m_ReloadList; CSyncLock m_Sync; };