CotC C# SDK for Unity  v1.4.0.1
Making social games is easy !
Class Hierarchy
This inheritance list is sorted roughly, but not completely, alphabetically:
[detail level 123]
 CCotcSdk.AchievementDefinitionDefinition of an achievement. Achievements are inputted on the backoffice and are triggered under defined circumstances
 CCotcSdk.CachedMember< T >Holds a cached single-time-instantiated member
 CCotcSdk.CloudRoot class of the SDK. It is stateless and allows to perform basic operations with the SDK, such as Ping
 CCotcSdk.CloudIndexingProvides an API allowing to manipulate an index
 CCotcSdk.DomainEventLoopThis class is responsible for polling the server waiting for new events. You should instantiate one and manage its lifecycle as the state of the application changes
 CEventArgs
 CCotcSdk.ExceptionEventArgsAn event arguments class holding an exception. Used with unhandled exceptions
 CCotcSdk.LogEventArgsInformation about a log entry
 CCotcSdk.EventLoopArgsArguments of the EventLoopArgs.ReceivedEvent event. You can use args.Message.ToJson() to obtain more information
 CException
 CCotcSdk.CotcExceptionStandard type of exceptions as forwarded most of the time in case of API error (network included)
 CCotcSdk.HttpTimeoutException
 CCotcSdk.FriendStatusChangeEventEvent triggered when someone adds this gamer as a friend or changes his friendship status
 CCotcSdk.GameProvides functionality related to the entire game
 CCotcSdk.GameBatchesAllows to run batches authenticated as a game (that is, unauthenticated)
 CCotcSdk.GamerAccountMethodsAPI functions acting on an user account (convert, etc.)
 CCotcSdk.GamerAchievements
 CCotcSdk.GamerBatchesAllows to run batches authenticated as a user
 CCotcSdk.GamerCommunityAPI methods related to the friends and so on of one gamer
 CCotcSdk.GamerGodfatherGodfather (code) related functions. You may also want to subscribe to events (see CotcSdk.GamerGodfather.OnGotGodchild)
 CCotcSdk.GamerKvStoreRepresents a key/value system with ACL rights, also known as key/value store. This class is scoped by domain, meaning that you can call .Domain("yourdomain") and perform additional calls that are scoped
 CCotcSdk.GamerMatchesSome methods accept a PushNotification parameter. This parameter can be used to forward a push notification to the users who are not active at the moment
 CCotcSdk.GamerProfileMethodsExposes methods allowing to fetch and modify the profile of the signed in gamer
 CCotcSdk.GamerPropertiesAllows to manipulate the gamer properties
 CCotcSdk.GamerScoresScoring and leaderboard related functions
 CCotcSdk.GamerStore(App) Store API
 CCotcSdk.GamerTransactionsClass allowing to manipulate the transactions and perform tasks related to achievements. This class is scoped by domain, meaning that you can call .Domain("yourdomain") and perform additional calls that are scoped
 CCotcSdk.GamerVfsRepresents a key/value system, also known as virtual file system. This class is scoped by domain, meaning that you can call .Domain("yourdomain") and perform additional calls that are scoped
 CCotcSdk.GameVfsRepresents a key/value system, also known as virtual file system, to be used for game properties. This class is scoped by domain, meaning that you can call .Domain("yourdomain") and perform additional calls that are scoped
 CCotcSdk.HttpClient
 CCotcSdk.MonoHttpClient
 CCotcSdk.UnityHttpClientV2
 CCotcSdk.HttpRequest
 CCotcSdk.HttpRequestFailedEventArgsThis class is passed to the HttpRequestFailed handler as set on the Cloud. You need to do something with it, either call Abort or RetryIn else the http service will throw an exception
 CCotcSdk.HttpResponse
 CIEquatable
 CCotcSdk.BundleThe bundle is a main concept of the CotC SDK. It is basically the equivalent of a JSON object, behaving like a C# dictionary, but with inferred typing and more safety
 CCotcSdk.EmptyBundleNever instantiate this class. Use Bundle.Empty instead. Pass that everywhere an explicit configuration is not wanted
 CCotcSdk.ILogger
 CCotcSdk.UnityLogger
 CCotcSdk.IndexSearchResultContains the results of a search on the index
 CCotcSdk.InappPurchase.IStoreInterface about the platform-specific store
 CCotcSdk.ISystemFunctions
 CCotcSdk.UnitySystemFunctions
 CList
 CCotcSdk.NonpagedList< DataType >Represents a non-paginated list. Counterpart to CotcSdk.PagedList, replacing simple List before. These lists allow to retrieve additional information that you can enrich using batches on the server
 CCotcSdk.PagedList< DataType >Represents a paginated list, which allows for easy navigation through multiple results
 CCotcSdk.MatchInfoRepresents 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.)
 CCotcSdk.MatchListResultEntry within a list of matches
 CCotcSdk.MatchMoveRepresents a move in a match
 CMonoBehaviour
 CCotcFacebookSampleScene
 CCotcInappPurchaseSampleScene
 CCotcSdk.CotcCoroutinesManager
 CCotcSdk.CotcGameObjectPlace this object on all scenes where you would like to use CotC functionality, as described in this tutorial
 CCotcSdk.FacebookIntegration.CotcFacebookIntegrationFacebook integration utility root entry point
 CCotcSdk.InappPurchase.CotcInappPurchaseGameObject
 CCotcSdk.PushNotifications.CotcPushNotificationsGameObjectThis class allows to interact with the underlying implementation of push notifications for your platform. You should not need to do anything with it
 CCotcSdk.PostedGameScoreResult of posting a score
 CCotcSdk.Promise< PromisedT >Promise of future result, which may fail or succeed. Returned as a result of any asnychronous operation
 CCotcSdk.Promise< CotcSdk.Cloud >
 CCotcSdk.PromiseHandler< T >Holds two callback delegates to call in case of resolved (success) or rejected (failure) Promise. Should only be used for internal SDK conveniency
 CCotcSdk.PropertiesObjectDefines an object that can be queried for additional properties using indexers. The structure of the object remains read only though
 CCotcSdk.ConfiguredProductInformation about a configured product on the BO
 CCotcSdk.DoneGeneric 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
 CCotcSdk.DrawnItemsResultResponse resulting from a CotcSdk.Match.DrawFromShoe call
 CCotcSdk.GamerImportant object from the SDK, allowing to perform many operations that depend on a currently logged in user
 CCotcSdk.GamerInfoInfo 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"];
 CCotcSdk.GamerOutlineOutline 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"];
 CCotcSdk.GamerProfileMight contain the following: { "displayName" : "xxx", "email" : "xxx', "lang" : "en" } Usage: string name = gamerProfile["displayName"];
 CCotcSdk.GotGodchildEventEvent triggered when a godfather code is used. This event is received by the one who originated the code (godfather). See CotcSdk.GamerGodfather.GenerateCode
 CCotcSdk.InappPurchase.ProductInfoInformation about a given product. Returned by CotC when querying the product list and used throughout platform specific purchase flows
 CCotcSdk.IndexResultResult 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()
 CCotcSdk.MatchRepresents a match with which you can interact through high level functionality. A match object is returned when you create a match, join it and so on. You should subscribe to ReceivedEvent right after you got this object
 CCotcSdk.MatchEventBasis for a match event. An event is actually always one of the subclasses (Match*Event)
 CCotcSdk.MatchFinishEventEvent of type match.finish. Broadcasted to all participants except the one who initiated the request when a match is finished
 CCotcSdk.MatchInviteEventEvent of type match.invite. Received by another player when someone invites him to the match
 CCotcSdk.MatchJoinEventEvent of type match.join. Broadcasted when a player joins a match. The joining player himself doesn't receive the event
 CCotcSdk.MatchLeaveEventEvent of type match.leave. Broadcasted when a player leaves the match. The leaving player himself doesn't receive the event
 CCotcSdk.MatchMoveEventEvent of type match.move. Broadcasted when a player makes a move. The player himself doesn't receive the event
 CCotcSdk.MatchShoeDrawnEventEvent of type match.shoedraw. Broadcasted when a player draws items from the shoe. The player himself does not receive the event
 CCotcSdk.PurchaseTransactionInformation about a purchased product transaction
 CCotcSdk.ScoreRepresents a score fetched from a leaderboard
 CCotcSdk.SocialNetworkFriendResponseWraps information about a list of friends coming from a social network
 CCotcSdk.TransactionResultResult of a transaction call. Contains the new balance (after the transaction has been executed atomically) and the list of triggered achievements
 CCotcSdk.UserInfoInfo 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"];
 CCotcSdk.ValidateReceiptResultResult of CotcSdk.GamerStore.ValidateReceipt
 CCotcSdk.InappPurchase.PurchasedProductPurchased product as returned by LaunchPurchase
 CCotcSdk.PushNotificationPush notifications can be specified in some API calls to push an OS push notification to inactive users. It is typically a JSON with made of attributes which represent language -> message pairs. Here is an example: new PushNotification().Message("en", "Help me!").Message("fr", "Aidez moi!")
 CCotcSdk.SocialNetworkFriendData 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
 CCotcSdk.TransactionTransaction as archived on the CotC servers
 CCotcSdk.UrlBuilder
 CCotcSdk.HttpClient.WebRequestAsynchronous request state