Пример #1
0
        protected override Color GetHighlightColor(FightMapFeedbackColors feedbackColors, IMapEntityProvider mapEntityProvider, ICharacterEntity trackedCharacter)
        {
            //IL_0045: Unknown result type (might be due to invalid IL or missing references)
            FightStatus local      = FightStatus.local;
            PlayerType  playerType = (local != mapEntityProvider) ? ((trackedCharacter.teamIndex == GameStatus.localPlayerTeamIndex) ? PlayerType.Ally : PlayerType.Opponent) : ((local.localPlayerId != trackedCharacter.ownerId) ? ((trackedCharacter.teamIndex == GameStatus.localPlayerTeamIndex) ? (PlayerType.Ally | PlayerType.Local) : (PlayerType.Opponent | PlayerType.Local)) : PlayerType.Player);

            return(feedbackColors.GetPlayerColor(playerType));
        }
Пример #2
0
 protected virtual Color GetHighlightColor([NotNull] FightMapFeedbackColors feedbackColors, [NotNull] IMapEntityProvider mapEntityProvider, [NotNull] ICharacterEntity trackedCharacter)
 {
     //IL_0001: Unknown result type (might be due to invalid IL or missing references)
     return(feedbackColors.targetableAreaColor);
 }