![]() |
CotC C# SDK for Unity
v1.4.0.1
Making social games is easy !
|
Data about a friend on the social network. The most important field is the id, which allows to recognize the gamer uniquely among the given social network.
Properties | |
| GamerInfo | ClanInfo [get] |
| Additional info that might have been enriched by the CotC servers. You should never guess or create this info by yourself. More... | |
Public Member Functions | |
| SocialNetworkFriend (string id, string firstName, string lastName, string name) | |
| User constructor. More... | |
| SocialNetworkFriend () | |
| Default constructor for convenience. More... | |
| SocialNetworkFriend (Bundle serverData) | |
| Build from existing JSON data. More... | |
Public Attributes | |
| string | Id |
| Required. The ID given by the social network, allowing to uniquely identify the friend in question. More... | |
| string | FirstName |
| If you have either a name (composite of name/first name regardless of order), either the two components (name, first name), pass them here. You should pass at least one of these. More... | |
| CotcSdk.SocialNetworkFriend.SocialNetworkFriend | ( | string | id, |
| string | firstName, | ||
| string | lastName, | ||
| string | name | ||
| ) |
User constructor.
| CotcSdk.SocialNetworkFriend.SocialNetworkFriend | ( | ) |
Default constructor for convenience.
| CotcSdk.SocialNetworkFriend.SocialNetworkFriend | ( | Bundle | serverData | ) |
Build from existing JSON data.
|
get |
Additional info that might have been enriched by the CotC servers. You should never guess or create this info by yourself.
| string CotcSdk.SocialNetworkFriend.FirstName |
If you have either a name (composite of name/first name regardless of order), either the two components (name, first name), pass them here. You should pass at least one of these.
| string CotcSdk.SocialNetworkFriend.Id |
Required. The ID given by the social network, allowing to uniquely identify the friend in question.
1.8.15