CotC C# SDK for Unity  v1.4.0.1
Making social games is easy !
Public Member Functions | Public Attributes | List of all members
CotcSdk.GotGodchildEvent Class Reference

Description

Event triggered when a godfather code is used. This event is received by the one who originated the code (godfather). See CotcSdk.GamerGodfather.GenerateCode.

Public Member Functions

 GotGodchildEvent (Bundle serverData)
 
- Public Member Functions inherited from CotcSdk.PropertiesObject
Bundle AsBundle ()
 Gets the underlying Bundle. Dangerous, only use internally, when you want to put the contents of a properties object into an existing bundle. More...
 
Dictionary< string, Bundle >.KeyCollection Keys ()
 Allows to browse all keys (might include some that are already exposed as typed properties in the object). More...
 
Dictionary< string, Bundle >.Enumerator GetEnumerator ()
 Allows to browse all keys (might include some that are already exposed as typed properties in the object). More...
 
override string ToString ()
 You may use this to debug what is inside this property object. More...
 
string ToJson ()
 Builds a JSON representation of this object, same as ToString actually. More...
 

Public Attributes

GamerInfo Gamer
 Gamer who accepted the godfather request. More...
 
Bundle Reward
 Reward transaction executed if any. More...
 

Additional Inherited Members

- Properties inherited from CotcSdk.PropertiesObject
Bundle this[string key] [get]
 Allows to query additional properties via an indexer (can be enriched via hooks). More...
 
- Protected Member Functions inherited from CotcSdk.PropertiesObject
 PropertiesObject (Bundle baseData)
 
- Protected Attributes inherited from CotcSdk.PropertiesObject
Bundle Props
 
Inheritance diagram for CotcSdk.GotGodchildEvent:
CotcSdk.PropertiesObject

Member Data Documentation

◆ Gamer

GamerInfo CotcSdk.GotGodchildEvent.Gamer

Gamer who accepted the godfather request.

◆ Reward

Bundle CotcSdk.GotGodchildEvent.Reward

Reward transaction executed if any.