C# Class Crown, CrownEngine

Inheritance: MonoBehaviour
Show file Open project: 3dever/CrownEngine Class Usage Examples

Public Properties

Property Type Description
instance Crown,
serverURL string
userId string
userKey string
userSpot string

Public Methods

Method Description
Awake ( ) : void
BroadcastToAll ( string functionName, string ArgsList ) : void
Error ( string msg, bool fatal = false ) : void
Exec ( string msg ) : void
GetLog ( ) : string
Log ( string msg, bool hidetime = false ) : void
Request ( string function, JSON, parameters = null, CrownCallbackJSON callback = null, CrownCallbackJSON internalCallback = null ) : IEnumerator

Method Details

Awake() public method

public Awake ( ) : void
return void

BroadcastToAll() public static method

public static BroadcastToAll ( string functionName, string ArgsList ) : void
functionName string
ArgsList string
return void

Error() public static method

public static Error ( string msg, bool fatal = false ) : void
msg string
fatal bool
return void

Exec() public static method

public static Exec ( string msg ) : void
msg string
return void

GetLog() public static method

public static GetLog ( ) : string
return string

Log() public static method

public static Log ( string msg, bool hidetime = false ) : void
msg string
hidetime bool
return void

Request() public static method

public static Request ( string function, JSON, parameters = null, CrownCallbackJSON callback = null, CrownCallbackJSON internalCallback = null ) : IEnumerator
function string
parameters JSON,
callback CrownCallbackJSON
internalCallback CrownCallbackJSON
return IEnumerator

Property Details

instance public static property

public static Crown, instance
return Crown,

serverURL public property

public string serverURL
return string

userId public property

public string userId
return string

userKey public property

public string userKey
return string

userSpot public property

public string userSpot
return string