hch
2024-12-19 bc8c2d140d37f8370f3cb18d084cde1ef8f15e71
SdkProject/channel/gtgame/java/com/secondworld/sdk/GTGameApp.java
@@ -1,26 +1,25 @@
package com.secondworld.sdk;
public class GTGameApp extends GameApp {
import android.app.Application;
public class GTGameApp extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        GameAppProxy.create(this,new GTGamePlatform());
        registerProxy();
        initSdk();
    }
    protected void registerProxy() {
        super.registerProxy();
        //主界面代理注册
        GameActivity.registerProxy(GTGameMain.class);
        AppsFlyerUtil.init();
    }
    @Override
    protected void initPlatformDiff() {
        PlatformDiff.I = new GTGamePlatform();
    }
    @Override
    protected void initSdk() {
        super.initSdk();
        MySdkMgr.I.setListener();
    }
}