using System.Collections.Generic;
|
|
public class PhantasmPavilionChatBoxHandler : IPhantasmPavilionHandler
|
{
|
public bool HasTableKey(int id)
|
{
|
return ChatBubbleBoxConfig.HasKey(id);
|
}
|
public List<int> GetKeyList()
|
{
|
return ChatBubbleBoxConfig.GetKeys();
|
}
|
public int GetResourceType(int id)
|
{
|
return ChatBubbleBoxConfig.Get(id).ResourceType;
|
}
|
public string GetResourceValue(int id)
|
{
|
return ChatBubbleBoxConfig.Get(id).ResourceValue;
|
}
|
|
public string GetName(int id)
|
{
|
return ChatBubbleBoxConfig.Get(id).Name;
|
}
|
public int GetExpireMinutes(int id)
|
{
|
return ChatBubbleBoxConfig.Get(id).ExpireMinutes;
|
}
|
public int GetUnlockWay(int id)
|
{
|
return ChatBubbleBoxConfig.Get(id).UnlockWay;
|
}
|
public int GetUnlockValue(int id)
|
{
|
return ChatBubbleBoxConfig.Get(id).UnlockValue;
|
}
|
public int GetUnlockNeedCnt(int id)
|
{
|
return ChatBubbleBoxConfig.Get(id).UnlockNeedCnt;
|
}
|
public int GetUpNeedCnt(int id)
|
{
|
return ChatBubbleBoxConfig.Get(id).UpNeedCnt;
|
}
|
public int GetStarMax(int id)
|
{
|
return ChatBubbleBoxConfig.Get(id).StarMax;
|
}
|
public int[] GetAttrIDList(int id)
|
{
|
return ChatBubbleBoxConfig.Get(id).AttrIDList;
|
}
|
public int[] GetInitAttrValueList(int id)
|
{
|
return ChatBubbleBoxConfig.Get(id).InitAttrValueList;
|
}
|
public int[] GetAttrPerStarAddList(int id)
|
{
|
return ChatBubbleBoxConfig.Get(id).AttrPerStarAddList;
|
}
|
public string GetGetWayString(int id)
|
{
|
return ChatBubbleBoxConfig.Get(id).GetWayString;
|
}
|
|
}
|