0
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);
}
Posted summarized to you, because the whole code has more than a thousand lines, who wants the whole code comments.
Please help me, if you need more things I put here
– user39571
Hello, welcome to SOPT. You already have an answer that will certainly help you, but the quality of your question is very low. This makes it difficult for people to be interested in answering. If you haven’t done it yet, do the [tour] and, above all, be sure to read [Ask].
– Luiz Vieira