CotC C# SDK for Unity  v1.4.0.1
Making social games is easy !
Public Attributes | List of all members

Description

Event of type match.move. Broadcasted when a player makes a move. The player himself doesn't receive the event.

Public Attributes

string Id
 The ID of the move. More...
 
Bundle MoveData
 The data passed by the player when performing the move. More...
 
string PlayerId
 The ID of the player who made the move. More...
 

Additional Inherited Members

- Properties inherited from CotcSdk.MatchEvent
string MatchEventId [get]
 The unique ID of the event. Might match the last event ID of an existing match. More...
 
MatchInfo Match [get]
 
- Properties inherited from CotcSdk.PropertiesObject
Bundle this[string key] [get]
 Allows to query additional properties via an indexer (can be enriched via hooks). More...
 
- 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...
 
- Protected Member Functions inherited from CotcSdk.MatchEvent
 MatchEvent (Gamer gamer, Bundle serverData)
 
- Protected Member Functions inherited from CotcSdk.PropertiesObject
 PropertiesObject (Bundle baseData)
 
- Protected Attributes inherited from CotcSdk.PropertiesObject
Bundle Props
 
Inheritance diagram for CotcSdk.MatchMoveEvent:
CotcSdk.MatchEvent CotcSdk.PropertiesObject

Member Data Documentation

◆ Id

string CotcSdk.MatchMoveEvent.Id

The ID of the move.

◆ MoveData

Bundle CotcSdk.MatchMoveEvent.MoveData

The data passed by the player when performing the move.

◆ PlayerId

string CotcSdk.MatchMoveEvent.PlayerId

The ID of the player who made the move.