C# Class Xsolla.XsollaJsonGenerator

Show file Open project: xsolla/xsolla-unity-sdk Class Usage Examples

Public Properties

Property Type Description
settings Settings
user User

Public Methods

Method Description
Base64Encode ( string plainText ) : string
FreshToken ( Action tokenCallback ) : IEnumerator
GetPrepared ( ) : string
XsollaJsonGenerator ( string userId, long projectId ) : System

Private Methods

Method Description
CaptureConsoleAppOutput ( string exeName, string arguments, int timeoutMilliseconds, int &exitCode, string &output ) : void
GetAppPlatformPath ( ) : string
GetBytes ( string str ) : byte[]

Method Details

Base64Encode() public static method

public static Base64Encode ( string plainText ) : string
plainText string
return string

FreshToken() public static method

public static FreshToken ( Action tokenCallback ) : IEnumerator
tokenCallback Action
return IEnumerator

GetPrepared() public method

public GetPrepared ( ) : string
return string

XsollaJsonGenerator() public method

public XsollaJsonGenerator ( string userId, long projectId ) : System
userId string
projectId long
return System

Property Details

settings public property

public Settings settings
return Settings

user public property

public User user
return User