Files
peko-ios/YuMi/Library/SudMGP.framework/Headers/ISudCfg.h
2023-09-13 10:18:45 +08:00

55 lines
1.7 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// Created by guanghui on 2022/2/28.
//
#import <Foundation/Foundation.h>
@protocol ISudCfg <NSObject>
/// 获取加载游戏时,是否显示游戏背景图
/// @return true:显示 false:隐藏 默认:显示true
/// 最低版本v1.1.46.xx
-(BOOL) getShowLoadingGameBg;
/// 设置加载游戏时,是否显示游戏背景图
/// @param show true:显示 false:隐藏
/// 最低版本v1.1.46.xx
-(void) setShowLoadingGameBg:(BOOL) show;
/// 获取加载游戏时是否要显示自定义的Loading效果
/// @return true:显示 false:SDK默认Loading效果 默认:显示SDK默认Loading效果
/// 最低版本v1.1.52.xx
- (BOOL)getShowCustomLoading;
/// 设置加载游戏时是否要显示自定义的Loading效果
/// @param show true:自定义 false:SDK默认Loading效果
/// 最低版本v1.1.52.xx
- (void)setShowCustomLoading:(BOOL) show;
/// 添加游戏嵌入包路径
/// @param mgId 游戏id
/// @param mgPath 游戏路径app assets路径下
/// 最低版本v1.1.52.xx
- (void)addEmbeddedMGPkg:(int64_t) mgId mgPath:(NSString*) mgPath;
/// 移除游戏嵌入包
/// @param mgId
/// 最低版本v1.1.52.xx
- (void)removeEmbeddedMGPkg:(int64_t) mgId;
/// 获取游戏嵌入包路径
/// @param mgId 游戏ID
/// @return mgPath
/// 最低版本v1.1.52.xx
- (NSString *)getEmbeddedMGPkgPath:(int64_t) mgId;
/// 设置加载游戏时是否使用后台模式默认为true
/// @param mode true: 使用后台模式 false使用默认模式
/// 最低版本v1.2.7.xx
- (void) setBackgroundMode:(BOOL) mode;
/// 获取加载游戏时是否使用后台模式默认为true
/// @return true: 使用后台模式 false使用默认模式
/// 最低版本v1.2.7.xx
- (BOOL) getBackgroundMode;
@end