using System.Collections.Generic;
namespace Funique
{
///
/// Player information related utility methods
/// ------------------------------------------------
/// 用戶資訊相關幫助函式
///
public interface IToolPlayerInformationExtension
{
///
/// Select a ID which is include in the dictionary
/// ------------------------------------------------
/// 選擇一項 ID 是包含目錄中的
///
///
///
///
int RandomID(Dictionary PlayerInfoDic, int memberLimit);
///
/// Generate a random ip which will not exist in the gaven dictionary
/// ------------------------------------------------
/// 生成一個隨機 IP, 給予的目錄會用於查看 避免重複
///
///
///
///
string RandomIP(Dictionary PlayerInfoDic, int memberLimit);
///
/// Check if there are any player info contain match ID
/// ------------------------------------------------
/// 查看目錄 Map 中是否存在有相對應的 ID
///
/// ID index
/// Dict
///
bool CheckRepeatID(Dictionary PlayerInfoDic, int ID);
///
/// Check if there are any player info contain match IP
/// ------------------------------------------------
/// 查看目錄 Map 中是否存在有相對應的 IP
///
/// Address target
/// Dict
///
bool CheckRepeatIP(Dictionary PlayerInfoDic, string IP);
}
}