#pragma once 
#include <vector>
#include <string>
#include "ObjectStructEx.h"
#include "RoleBaseDef.h"

class CampStatuteClass
{
	vector< string >	_CampName;
	GameCampTypeENUM	_CampStatute[ _MAX_CAMP_COUNT_ ][ _MAX_CAMP_COUNT_ ];

public:
	void Init( GameObjDbStructEx*	ObjDB );
	
	vector< string >*	CampName();
	
	//設定兩者關係
	void	CampStatute( int CampA , int CampB , GameCampTypeENUM Type );

	//比較兩者關系
	GameCampTypeENUM	CampStatute( int CampA , int CampB );

	bool	IsEnemy( int CampA , int CampB );
	bool	IsCanHelp( int CampA , int CampB );
	bool	IsCanAttck( int CampA , int CampB );
	bool	IsFriend( int CampA , int CampB );

	//取得陣營的號碼
	CampID_ENUM		GetCampID( const char* CampName );
};