Method GetFriendliness
GetFriendliness(RideID)
Returns the friendliness value of the relationship
Declaration
public float GetFriendliness(RideID relationshipId)
Parameters
Type | Name | Description |
---|---|---|
RideID | relationshipId |
Returns
Type | Description |
---|---|
System.Single | -1 if the relationship doesn't exist. |
Implements
GetFriendliness(RideID, RideID)
Returns the friendliness value between the 2 parties in the relationship
Declaration
public float GetFriendliness(RideID partyA, RideID partyB)
Parameters
Type | Name | Description |
---|---|---|
RideID | partyA | The unique id of the first party in the relationship |
RideID | partyB | The unique id of the other party in the relationship |
Returns
Type | Description |
---|---|
System.Single | The friendliness value between the 2 parties. -1 if the relationship doesn't exist |