C# 클래스 chameleon.ChameleonSDK

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: ucloud/chameleon 1 사용 예제들

공개 메소드들

메소드 설명
Awake ( ) : void
antiAddiction ( ) : void
buy ( string orderId, string uidInGame, string userNameInGame, string serverId, string productName, string productId, string payInfo, int productCount, int realPayMoney ) : void
charge ( string orderId, string uidInGame, string userNameInGame, string serverId, string currencyName, string payInfo, int rate, int realPayMoney, bool allowUserChange ) : void
createAndShowToolBar ( ToolbarPosition position ) : void
destroy ( ) : void
destroyToolBar ( ) : void
getChannelName ( ) : string
getPayToken ( ) : string
getToken ( ) : string
getUid ( ) : string
init ( ChameleonSDK listener ) : void
isLogined ( ) : bool
isSupportProtocol ( string protocol ) : bool
isSupportSwitchAccount ( ) : bool
login ( ) : void
loginGuest ( ) : void
logout ( ) : void
onLoginRsp ( string rsp ) : bool
onPause ( ) : void
onResume ( ) : void
registGuest ( string tip ) : void
runProtocol ( string protocol, string ps ) : void
showFloatBar ( bool visible ) : void
submitPlayerInfo ( string roleId, string roleName, string roleLevel, int zoneId, string zoneName ) : void
switchAccount ( ) : void
unregisterListener ( ) : void

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

antiAddiction() 공개 정적인 메소드

public static antiAddiction ( ) : void
리턴 void

buy() 공개 정적인 메소드

public static buy ( string orderId, string uidInGame, string userNameInGame, string serverId, string productName, string productId, string payInfo, int productCount, int realPayMoney ) : void
orderId string
uidInGame string
userNameInGame string
serverId string
productName string
productId string
payInfo string
productCount int
realPayMoney int
리턴 void

charge() 공개 정적인 메소드

public static charge ( string orderId, string uidInGame, string userNameInGame, string serverId, string currencyName, string payInfo, int rate, int realPayMoney, bool allowUserChange ) : void
orderId string
uidInGame string
userNameInGame string
serverId string
currencyName string
payInfo string
rate int
realPayMoney int
allowUserChange bool
리턴 void

createAndShowToolBar() 공개 정적인 메소드

public static createAndShowToolBar ( ToolbarPosition position ) : void
position ToolbarPosition
리턴 void

destroy() 공개 정적인 메소드

public static destroy ( ) : void
리턴 void

destroyToolBar() 공개 정적인 메소드

public static destroyToolBar ( ) : void
리턴 void

getChannelName() 공개 정적인 메소드

public static getChannelName ( ) : string
리턴 string

getPayToken() 공개 정적인 메소드

public static getPayToken ( ) : string
리턴 string

getToken() 공개 정적인 메소드

public static getToken ( ) : string
리턴 string

getUid() 공개 정적인 메소드

public static getUid ( ) : string
리턴 string

init() 공개 정적인 메소드

public static init ( ChameleonSDK listener ) : void
listener ChameleonSDK
리턴 void

isLogined() 공개 정적인 메소드

public static isLogined ( ) : bool
리턴 bool

isSupportProtocol() 공개 정적인 메소드

public static isSupportProtocol ( string protocol ) : bool
protocol string
리턴 bool

isSupportSwitchAccount() 공개 정적인 메소드

public static isSupportSwitchAccount ( ) : bool
리턴 bool

login() 공개 정적인 메소드

public static login ( ) : void
리턴 void

loginGuest() 공개 정적인 메소드

public static loginGuest ( ) : void
리턴 void

logout() 공개 정적인 메소드

public static logout ( ) : void
리턴 void

onLoginRsp() 공개 정적인 메소드

public static onLoginRsp ( string rsp ) : bool
rsp string
리턴 bool

onPause() 공개 정적인 메소드

public static onPause ( ) : void
리턴 void

onResume() 공개 정적인 메소드

public static onResume ( ) : void
리턴 void

registGuest() 공개 정적인 메소드

public static registGuest ( string tip ) : void
tip string
리턴 void

runProtocol() 공개 정적인 메소드

public static runProtocol ( string protocol, string ps ) : void
protocol string
ps string
리턴 void

showFloatBar() 공개 정적인 메소드

public static showFloatBar ( bool visible ) : void
visible bool
리턴 void

submitPlayerInfo() 공개 정적인 메소드

public static submitPlayerInfo ( string roleId, string roleName, string roleLevel, int zoneId, string zoneName ) : void
roleId string
roleName string
roleLevel string
zoneId int
zoneName string
리턴 void

switchAccount() 공개 정적인 메소드

public static switchAccount ( ) : void
리턴 void

unregisterListener() 공개 정적인 메소드

public static unregisterListener ( ) : void
리턴 void