private Color GetColor() { if (this.currentCharacter.IsCurrentClientCharacter) { return(RayColorCurrentPlayerCharacter); } return(PartySystem.ClientIsPartyMember(this.currentCharacter.Name) || FactionSystem.ClientIsFactionMemberOrAlly(this.currentCharacter) ? RayColorFriendlyPlayerCharacter : RayColorOtherPlayerCharacter); }