Difference between revisions of "Relation Types"

From truxwiki.com
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 76: Line 76:
 
| style="text-align:center;" | 16
 
| style="text-align:center;" | 16
 
| A connected to B.
 
| A connected to B.
 +
|-
 +
| <code>RELATION_AT</code>
 +
| style="text-align:center;" | 17
 +
| A was at location B.
 +
|-
 +
| <code>RELATION_ANNOTATION</code>
 +
| style="text-align:center;" | 18
 +
| A is an annotation of B.
 +
|-
 +
| <code>RELATION_PROFILE_PHOTO</code>
 +
| style="text-align:center;" | 19
 +
| A is profile photograph of B.
 +
|-
 +
| <code>RELATION_MEMBER_OF</code>
 +
| style="text-align:center;" | 20
 +
| A is member of B.
 +
|-
 +
| <code>RELATION_ASSOCIATED_WITH</code>
 +
| style="text-align:center;" | 21
 +
| A is associated with B.
 +
|-
 +
| <code>RELATION_IN_CONTACT_WITH</code>
 +
| style="text-align:center;" | 22
 +
| A is in contact with B.
 
|}
 
|}

Latest revision as of 06:00, 21 October 2022

Truxton allows you to relate things based on their GUID. This table defines what types of relationships you can make.

This information is also kept in the [RelationType] database table.

Name Value Meaning
RELATION_TYPE_UNKNOWN 0 The type of relation is not known. It is probably a bug.
RELATION_TYPE_CONTAINS 1 A contains B.
RELATION_MESSAGE_ADDRESS 2 A is an Email of B.
RELATION_HOME_PHONE 3 A is a home phone number of B.
RELATION_WORK_PHONE 4 A is a work phone number of B.
RELATION_MOBILE_PHONE 5 A is a mobile phone number of B.
RELATION_OTHER_PHONE 6 A is some other phone number of B.
RELATION_ALIAS 7 A is an alias for B.
RELATION_PRIMARY_PHOTO 8 A is the primary photograph of B.
RELATION_SEEN_IN_PHOTO 9 A was seen in photo B.
RELATION_COMBINED_ID 10 A is the combined address of B.
RELATION_PASSWORD 11 A is a password of B.
RELATION_GPS_ROUTE 12 A is the start of a route to B.
RELATION_RELATED 13 A is generically related to B.
RELATION_CALLED 14 A called B.
RELATION_LOGON_ACCOUNT 15 A is a logon account of B.
RELATION_CONNECTED 16 A connected to B.
RELATION_AT 17 A was at location B.
RELATION_ANNOTATION 18 A is an annotation of B.
RELATION_PROFILE_PHOTO 19 A is profile photograph of B.
RELATION_MEMBER_OF 20 A is member of B.
RELATION_ASSOCIATED_WITH 21 A is associated with B.
RELATION_IN_CONTACT_WITH 22 A is in contact with B.