C# Class RedMetricsManager, The-next-step

Inheritance: MonoBehaviour
Datei anzeigen Open project: esther5576/The-next-step Class Usage Examples

Public Properties

Property Type Description
gameObjectName string

Public Methods

Method Description
GET ( string url, System callback ) : IEnumerator
POST ( string url, string>.Dictionary post, System callback ) : IEnumerator
POST ( string url, byte post, string>.Dictionary headers, System callback ) : IEnumerator
Start ( ) : void
ToString ( ) : string
connect ( ) : void
get ( ) : RedMetricsManager,
getJsonString ( object obj ) : string
sendEvent ( TrackingEvent trackingEvent, CustomData, customData = null, string section = null, int coordinates = null ) : void
sendEvent ( TrackingEvent trackingEvent, Vector2 coordinates, CustomData, customData = null, string section = null ) : void
sendEvent ( TrackingEvent trackingEvent, Vector3 coordinates, CustomData, customData = null, string section = null ) : void
sendStartEvent ( bool restart ) : void
setGameVersion ( string gVersion ) : void
setPlayerID ( string pID ) : void

Private Methods

Method Description
Awake ( ) : void
antiDuplicateInitialization ( ) : void
createPlayer ( System callback ) : void
extractPID ( WWW www ) : string
initializeIfNecessary ( ) : void
logMessage ( string message, MessageLevel level = MessageLevel.DEFAULT ) : void
sendDataStandalone ( string urlSuffix, string pDataString, System callback ) : void
testGet ( System callback ) : void
trackStart ( WWW www ) : void
waitAndSendStart ( ) : IEnumerator
waitForWWW ( WWW www, System callback ) : IEnumerator
wwwLogger ( WWW www, string origin = "default" ) : void

Method Details

GET() public static method

public static GET ( string url, System callback ) : IEnumerator
url string
callback System
return IEnumerator

POST() public static method

public static POST ( string url, string>.Dictionary post, System callback ) : IEnumerator
url string
post string>.Dictionary
callback System
return IEnumerator

POST() public static method

public static POST ( string url, byte post, string>.Dictionary headers, System callback ) : IEnumerator
url string
post byte
headers string>.Dictionary
callback System
return IEnumerator

Start() public method

public Start ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

connect() public method

public connect ( ) : void
return void

get() public static method

public static get ( ) : RedMetricsManager,
return RedMetricsManager,

getJsonString() public method

public getJsonString ( object obj ) : string
obj object
return string

sendEvent() public method

public sendEvent ( TrackingEvent trackingEvent, CustomData, customData = null, string section = null, int coordinates = null ) : void
trackingEvent TrackingEvent
customData CustomData,
section string
coordinates int
return void

sendEvent() public method

public sendEvent ( TrackingEvent trackingEvent, Vector2 coordinates, CustomData, customData = null, string section = null ) : void
trackingEvent TrackingEvent
coordinates Vector2
customData CustomData,
section string
return void

sendEvent() public method

public sendEvent ( TrackingEvent trackingEvent, Vector3 coordinates, CustomData, customData = null, string section = null ) : void
trackingEvent TrackingEvent
coordinates Vector3
customData CustomData,
section string
return void

sendStartEvent() public method

public sendStartEvent ( bool restart ) : void
restart bool
return void

setGameVersion() public method

public setGameVersion ( string gVersion ) : void
gVersion string
return void

setPlayerID() public method

public setPlayerID ( string pID ) : void
pID string
return void

Property Details

gameObjectName public_oe static_oe property

public static string gameObjectName
return string