#pragma once

#include "NetCli_Item.h"

class NetCli_ItemChild : public NetCli_Item
{
public:
	static bool _Init();
	static bool _Release();
	static void	_Update();

	virtual void R_GetItemOK                        ( );   
	virtual void R_GetGroundItemFailed              ( );
	virtual void R_GetBufferItemFailed              ( );
	virtual void R_GetBufferItemOK					( int Count );		


	virtual void R_ClsItemInBuffer                  ( );   
	virtual void R_NewItemInBuffer                  ( ItemFieldStruct& Item );   

	virtual void R_DeleteItemOK_Body                ( );   
	virtual void R_DeleteItemOK_Bank                ( );  
	virtual void R_DeleteItemOK_EQ                  ( );   
	virtual void R_DeleteItemFailed                 ( );   

	virtual void R_ExchangeFieldOK_Body             ( );   
	virtual void R_ExchangeFieldOK_Bank             ( );   
	virtual void R_ExchangeFieldOK_BodyBank         ( );   
	virtual void R_ExchangeFieldFailed_Body         ( );   
	virtual void R_ExchangeFieldFailed_Bank         ( );   
	virtual void R_ExchangeFieldFailed_BodyBank     ( );   

	virtual void R_BodyBankMoneyExchangeOK          ( );   
	virtual void R_BodyBankMoneyExchangeFalse       ( );   
	virtual void R_FixItemInfo_Body                 ( ItemFieldStruct& Item , int Pos );    
	virtual void R_FixItemInfo_Bank                 ( ItemFieldStruct& Item , int Pos );    
	virtual void R_FixItemInfo_EQ                   ( ItemFieldStruct& Item , int Pos );    

	virtual void R_FixAllItemInfo                   ( ItemStruct& Body , ItemStruct& Bank , EQStruct& EQ );   
	virtual void R_FixMoney                         ( int BodyMoney , int BankMoney );    
	virtual void R_MaxItemCount                     ( int MaxBodyItem , int MaxBankItem );   
	virtual void R_OpenBank                         ( int GItemID );    
	virtual void R_CloseBank                        ( );    
	virtual void R_UseItemOK                        ( int Pos );    
	virtual void R_UseItemFailed                    ( int Pos );
	virtual void R_SetKeyItemFlag					( int KeyItemID , bool Value );

public:
	static	bool				m_isLockQueue;
};

