Error:
'Game.Server.GameObjects.GamePlayer' does not implement interface member 'Game.Logic.IGamePlayer.AddPrestige (bool)'
Code:
public class GamePlayer : IGamePlayer
{
public void AddPrestige(bool isWin, eRoomType roomType)
{
if (roomType == eRoomType.RingStation)
{
UserRingStationInfo ringStationInfos = RingStationMgr.GetSingleRingStationInfos(this.PlayerCharacter.ID);
if (ringStationInfos != null)
{
int num = RingStationMgr.ConfigInfo.AwardBattleByRank(ringStationInfos.get_Rank(), isWin);
string translation = LanguageMgr.GetTranslation("Ringstasion.BattleLost", (object) num);
if (isWin)
{
num = RingStationMgr.ConfigInfo.AwardBattleByRank(ringStationInfos.get_Rank(), isWin);
translation = LanguageMgr.GetTranslation("Ringstasion.BattleWin", (object) num);
}
this.AddLeagueMoney(num);
this.SendMessage(translation);
}
}
if (roomType != eRoomType.BattleRoom)
return;
this.BattleData.AddPrestige(isWin);
}
I have summarized to you, because the whole code has more than a thousand lines, whoever wants the whole code comments.