#pragma once

#include "..\..\RoleData\RoleData.h"
#include "..\NetWakerPGEnum.h"

//-----------------------------------------------------------------------------
struct PG_Script_CtoL_QuestAccept
{	
	PACKET_CONSTRUCT( PG_Script_CtoL_QuestAccept );
	
	int iQuestNpcID; 
	int iQuestID;
};
//-----------------------------------------------------------------------------
struct PG_Script_CtoL_QuestComplete
{	
	PACKET_CONSTRUCT( PG_Script_CtoL_QuestComplete );
	
	int iQuestNpcID; 
	int iQuestID;
	int iChoiceID;
};
//-----------------------------------------------------------------------------
struct PG_Script_CtoL_QuestDelete
{	
	PACKET_CONSTRUCT( PG_Script_CtoL_QuestDelete );

	int iQuestField;
	int iQuestID;
};
//-----------------------------------------------------------------------------
struct PG_Script_CtoL_TouchEvent
{
	PACKET_CONSTRUCT( PG_Script_CtoL_TouchEvent );

	int iEventObjID;
};
//-----------------------------------------------------------------------------
struct PG_Script_CtoL_RangeEvent
{
	PACKET_CONSTRUCT( PG_Script_CtoL_RangeEvent );

	int iEventObjID;
};
//-----------------------------------------------------------------------------
struct PG_Script_LtoC_QuestAccept_Result
{
	PACKET_CONSTRUCT( PG_Script_LtoC_QuestAccept_Result );

	int						iQuestID;
	int						iQuestField;
	EM_QUESTCHECK_RESULT	emResult;
};
//-----------------------------------------------------------------------------
struct PG_Script_LtoC_QuestComplete_Result
{
	PACKET_CONSTRUCT( PG_Script_LtoC_QuestComplete_Result );

	int						iQuestID;
	int						iQuestField;
	EM_QUESTCHECK_RESULT	emResult;
};
//-----------------------------------------------------------------------------
struct PG_Script_LtoC_QuestDelete_Result
{
	PACKET_CONSTRUCT( PG_Script_LtoC_QuestDelete_Result );

	int						iQuestID;
	int						iQuestField;
	EM_QUESTCHECK_RESULT	emResult;
};
//-----------------------------------------------------------------------------
struct PG_Script_LtoC_QuestFlag
{
	PACKET_CONSTRUCT( PG_Script_LtoC_QuestFlag );

	int						iQuestFlagID;
	int						iVal;
};
//-----------------------------------------------------------------------------
struct PG_Script_CtoL_ClickQuestObj
{
	PACKET_CONSTRUCT( PG_Script_CtoL_ClickQuestObj );
	
	int						iQuestField;
	int						iQuestID;
	int						iClickObj;
	int						iClickObjID;
};
//-----------------------------------------------------------------------------
struct PG_Script_CtoL_ClickQuestObjFailed
{
	PACKET_CONSTRUCT( PG_Script_CtoL_ClickQuestObjFailed );
};
//-----------------------------------------------------------------------------
struct PG_Script_LtoC_ClickQuestObjResult
{
	PACKET_CONSTRUCT( PG_Script_LtoC_ClickQuestObjResult );

	int						iResult;
	int						iItemID;
};
//-----------------------------------------------------------------------------
struct PG_Script_LtoC_QuestKillObjNotify
{
	PACKET_CONSTRUCT( PG_Script_LtoC_QuestKillObjNotify );

	int						iQuestField;
	int						iQuestID;
	int						iDeadObjID;
};
//-----------------------------------------------------------------------------
struct PG_Script_LtoC_PlayMotion
{
	PACKET_CONSTRUCT( PG_Script_LtoC_PlayMotion );

	int						iObjID;
	//int						iMotionID;
	char					szMotion[64];
};