示例#1
0
        private string GetMainPageHeader()
        {
            Player pcEntity = PlayerService.GetPlayerEntity(GetPC().GlobalID);

            int totalSP    = SkillService.GetPCTotalSkillCount(GetPC());
            int totalPerks = PerkService.GetPCTotalPerkCount(GetPC().GlobalID);

            return(ColorTokenService.Green("Total SP: ") + totalSP + " / " + SkillService.SkillCap + "\n" +
                   ColorTokenService.Green("Available SP: ") + pcEntity.UnallocatedSP + "\n" +
                   ColorTokenService.Green("Total Perks: ") + totalPerks + "\n");
        }