/* ==========================================================================
* 파    일 : Stage_Common.h
* 목    적 : 
* 작 성 자 : 박경희
* 작 성 일 : 2007-10-22
* 주의사항 :
*===========================================================================*/
#pragma once

#include "CommonNetworkMsgStruct.h"

#pragma pack(push,1)


const unsigned int MAPNUMBER_UNIT = 1000;
const unsigned long CHARACTER_CREATE_POS_IDX = 20001;


struct sStageChangePos
{
//	/// 좌표 인덱스
	unsigned long		mPosIdx;

	cString				mFileName;

	/// 
	char				mPotalName[256];

	/// 맵번호
	unsigned short		mMapNumber;
	/// 좌표X
	float				mPosX;
	/// 좌표Y
	float				mPosY;
	/// 범위
	float				mRange;

	/// 목적지맵idx
	unsigned long		mTargetPosIdx;

	/// 회전 각도
	float				mRotAngle;

	sStageChangePos*	mTargetInfo;

	sStageChangePos()
	{
		mTargetInfo = 0;
	}
};

/*

struct sOriginStageChangePosScript
{
	/// 좌표 인덱스
	unsigned long		mPosIndex;

	/// 
	char				mPotalName[256];

	/// 맵번호
	unsigned short		mMapNumber;
	/// 좌표X
	float				mPosX;
	/// 좌표Y
	float				mPosY;
	/// 범위
	float				mRange;
	/// 목적지맵idx
	unsigned long		mTargetMapIndex;
	/// 회전 각도
	float				mRotAngle;

	
};



struct sStageChangePosScript
{
	/// 좌표 인덱스
	unsigned long		mPosIndex;
	/// 맵번호
	unsigned short		mMapNumber;
	/// 좌표X
	float				mPosX;
	/// 좌표Y
	float				mPosY;
	/// 범위
	float				mRange;
	///
	float				mRotAngle;
	/// 목적지 맵번호
	unsigned short		mTargetMapNumber;
	/// 목적지 좌표X
	float				mTargetPosX;
	/// 목적지 좌표Y
	float				mTargetPosY;
	/// 목적지 범위
	float				mTargetRange;
	/// 회전 각도
	float				mTargetRotAngle;
};

*/


struct sTargetPos
{
	/// 맵번호
	unsigned short		mMapNumber;
	/// 좌표X
	float				mPosX;
	/// 좌표Y
	float				mPosY;
	/// 회전 각도
	float				mRotAngle;
};



#pragma pack(pop)
