#include "../../mainproc/GameMain.h"
#include "NetCli_RecipeChild.h"
#include "../interface/debug/DebugMessage.h"

//-----------------------------------------------------------------------------
bool NetCli_RecipeChild::_Init()
{
	if (This)
		return false;

	This = new NetCli_RecipeChild;

	return NetCli_Recipe::_Init();
}

//-----------------------------------------------------------------------------
bool NetCli_RecipeChild::_Release()
{
	NetCli_Recipe::_Release();
	if (This)
	{
		delete This;
		This = NULL;
	}
	return true;

}

//-----------------------------------------------------------------------------
//合成成功
void NetCli_RecipeChild::RL_LockResourceAndRefineResultOK( int RecipeID ,vector<ItemFieldStruct>& ItemList  )
{
	g_pDebugMessage->DebugOutput( 2 , "合成成功" );

}
//合成失敗
void NetCli_RecipeChild::RL_LockResourceAndRefineResultFailed( int RecipeID , vector<ItemFieldStruct>& ItemList  )
{
	g_pDebugMessage->DebugOutput( 2 , "合成失敗" );
}
//合成條件不符合
void NetCli_RecipeChild::RL_LockResourceAndRefineResultError( int RecipeID , RefineResultENUM	Result )
{
	g_pDebugMessage->DebugOutput( 2 , "合成條件有問題" );

}