public static void SetErrorCodeDelegate(QGameKit.ErrorCodeListenerDelegate errorCodeDelegate) { if (QGameKit.QGameKitObj == null) { Debug.LogError("QGameKitObj is null!"); return; } QGameKit.QGameKitObj.SetErrorCodeDelegate(errorCodeDelegate); }
public ErrorCodeCallback(QGameKit.ErrorCodeListenerDelegate mDelegate) : base("com/tencent/qgame/live/listener/ErrorCodeListener") { this.errorCodeDelegate = mDelegate; }