public void ColorizeSelfUserRow(NodeAddedEvent e, UserRowNode userRow, [JoinByScoreTable] ScoreTableColorNode scoreTableColor, UserRowNode userRow1, [JoinByUser] SelfUserNode selfUser) { userRow.scoreTableRow.Color = scoreTableColor.scoreTableRowColor.selfRowColor; }
public void ColorizeRemoteUserRow(NodeAddedEvent e, UserRowNode userRow, [JoinByScoreTable] ScoreTableColorNode scoreTableColor, [Context] UserRowNode userRow1, [JoinByUser] RemoteUserNode remoteUser) { userRow.scoreTableRow.Color = !remoteUser.Entity.HasComponent <AcceptedFriendComponent>() ? scoreTableColor.scoreTableRowColor.rowColor : scoreTableColor.scoreTableRowColor.friendRowColor; }