CotC C# SDK for Unity  v1.4.0.1
Making social games is easy !
Classes | Enumerations
Model classes (server/client communication)

Classes

class  CotcSdk.DrawnItemsResult
 Response resulting from a CotcSdk.Match.DrawFromShoe call. More...
 
class  CotcSdk.MatchInfo
 Represents a basic match with less information associated than a real match. This is the kind of matches that you may find in sub-objects returned by some calls (list, etc.). More...
 
class  CotcSdk.AchievementDefinition
 Definition of an achievement. Achievements are inputted on the backoffice and are triggered under defined circumstances. More...
 
class  CotcSdk.ConfiguredProduct
 Information about a configured product on the BO. More...
 
class  CotcSdk.Done
 Generic result for an API call that has been successful and simply gives an indication of whether it was done properly or not. Usually the result should be true, but some operations may succeed and give an indication that nothing was done. You may use it as a boolean or get additional information by using it as a PropertiesObject. More...
 
class  CotcSdk.GamerInfo
 Info about a player. Can be enriched with information, accessible using the index operator []. Typically contains a profile field, with displayname, email and lang. You can fetch this by doing string name = GamerInfo["profile"]["displayName"]; More...
 
class  CotcSdk.GamerOutline
 Outline information about a player. Can be enriched with information, accessible using the index operator []. Typically contains a profile field, with displayname, email and lang. You can fetch this by doing string name = GamerOutline["profile"]["displayname"]; More...
 
class  CotcSdk.GamerProfile
 Might contain the following: { "displayName" : "xxx", "email" : "xxx', "lang" : "en" } Usage: string name = gamerProfile["displayName"];. More...
 
class  CotcSdk.IndexResult
 Result of an index query. Represents a single returned object. This object is a CotcSdk.PropertiesObject, meaning that additional properties can be queried. If you want to check what is returned as a JSON object, simply log this.ToString(). More...
 
class  CotcSdk.IndexSearchResult
 Contains the results of a search on the index. More...
 
class  CotcSdk.LoginNetworkExtensions
 You can call LoginNetwork.Describe() to stringify the login network and pass it to various APIs.
 
class  CotcSdk.MatchListResult
 Entry within a list of matches. More...
 
class  CotcSdk.PostedGameScore
 Result of posting a score. More...
 
class  CotcSdk.PropertiesObject
 Defines an object that can be queried for additional properties using indexers. The structure of the object remains read only though. More...
 
class  CotcSdk.PurchaseTransaction
 Information about a purchased product transaction. More...
 
class  CotcSdk.Score
 Represents a score fetched from a leaderboard. More...
 
class  CotcSdk.SocialNetworkFriend
 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. More...
 
class  CotcSdk.SocialNetworkFriendResponse
 Wraps information about a list of friends coming from a social network. More...
 
class  CotcSdk.Transaction
 Transaction as archived on the CotC servers. More...
 
class  CotcSdk.TransactionResult
 Result of a transaction call. Contains the new balance (after the transaction has been executed atomically) and the list of triggered achievements. More...
 
class  CotcSdk.UserInfo
 Info about a user. Can be enriched with information, accessible using the index operator []. Typically contains a profile field, with displayname, email and lang. You can fetch this by doing string name = UserInfo["profile"]["displayname"]; More...
 
class  CotcSdk.ValidateReceiptResult
 Result of CotcSdk.GamerStore.ValidateReceipt. More...
 

Enumerations

enum  CotcSdk.AchievementType { Limit }
 Type of achievement. The rules and the "Config" member of an AchievementDefinition depends on this. More...
 
enum  CotcSdk.LoginNetwork {
  Anonymous, Email, Facebook, GooglePlus,
  GameCenter
}
 Social network used for identification / signing in. More...
 
enum  CotcSdk.StoreType { Appstore, Macstore, Googleplay }
 Type of store in which products are purchased. More...
 

Detailed Description

Enumeration Type Documentation

◆ AchievementType

Type of achievement. The rules and the "Config" member of an AchievementDefinition depends on this.

◆ LoginNetwork

enum CotcSdk.LoginNetwork
strong

Social network used for identification / signing in.

◆ StoreType

enum CotcSdk.StoreType
strong

Type of store in which products are purchased.