public int hideToolBar() { return(QuickSDKImp.getInstance().hideToolBar()); }
public void updateRole(GameRoleInfo gameRoleInfo) { QuickSDKImp.getInstance().updateRole(gameRoleInfo); //角色升级 }
public int showToolBar(ToolbarPlace place) //1左上,2右上,3左中,4右中,5左下,6右下 { return(QuickSDKImp.getInstance().showToolBar(place)); }
public void createRole(GameRoleInfo gameRoleInfo) { QuickSDKImp.getInstance().createRole(gameRoleInfo); //创建角色 }
public void enterGame(GameRoleInfo gameRoleInfo) { QuickSDKImp.getInstance().enterGame(gameRoleInfo); //开始游戏 }
public string channelName() //获取渠道名称 { return(QuickSDKImp.getInstance().channelName()); }
public string SDKVersion() //QuickSDK版本 { return(QuickSDKImp.getInstance().SDKVersion()); }
public void exit() { QuickSDKImp.getInstance().exit(); }
public void logout() { QuickSDKImp.getInstance().logout(); }
public int enterUserCenter() //用户中心 { return(QuickSDKImp.getInstance().enterUserCenter()); }
public void setListener(QuickSDKListener listener) { QuickSDKImp.getInstance().setListener(listener); }
//以下是v1.1的老接口,新接入用不到 public void updateRoleInfoWith(GameRoleInfo gameRoleInfo, bool isCreateRole) { QuickSDKImp.getInstance().updateRoleInfoWith(gameRoleInfo, isCreateRole); }
public bool isChannelHasExitDialog() { return(QuickSDKImp.getInstance().isChannelHasExitDialog()); }
public string getConfigValue(string key) { return(QuickSDKImp.getInstance().getConfigValue(key)); }
public bool isFunctionSupported(FuncType type) { return(QuickSDKImp.getInstance().isFunctionSupported(type)); }
public void pay(OrderInfo orderInfo, GameRoleInfo gameRoleInfo) { QuickSDKImp.getInstance().pay(orderInfo, gameRoleInfo); }
public void callFunction(FuncType type) { QuickSDKImp.getInstance().callFunction(type); }
public string userId() //渠道uid { return(QuickSDKImp.getInstance().userId()); }
public string channelVersion() //获取渠道版本 { return(QuickSDKImp.getInstance().channelVersion()); }
public int channelType() //获取渠道类别 渠道唯一标识 { return(QuickSDKImp.getInstance().channelType()); }