コード例 #1
0
 public override void DoInit()
 {
     base.DoInit();
     JoyYouSDKAttribute.ParamsCollector paramsCollector = new JoyYouSDKAttribute.ParamsCollector();
     paramsCollector.AddItemPair("appKey", this.theAppKey);
     paramsCollector.AddItemPair("appSecret", this.theAppSecret);
     paramsCollector.AddItemPair("razorKey", this.theRazorKey);
     paramsCollector.AddItemPair("qqAppKey", this.theQQAppKey);
     paramsCollector.AddItemPair("weixinAppId", this.theWeixinAppId);
     paramsCollector.AddItemPair("weixinAppKey", this.theWeixinAppKey);
     paramsCollector.AddItemPair("weiboAppKey", this.theWeiboAppKey);
     paramsCollector.AddItemPair("=ITF=", base.GetType().Name);
     paramsCollector.AddItemPair("debug", (!this.debugEnable) ? 0 : 1);
     paramsCollector.AddItemPair("log", (!this.logEnable) ? 0 : 1);
     JoyYouNativeInterface.InitGameRecordItf(this.theAppKey, paramsCollector.GetJsonData());
 }
コード例 #2
0
 public override void DoInit()
 {
     base.DoInit();
     JoyYouNativeInterface.InitGameRecordItf(this.theAppKey, this.theWeixinKey + ";" + this.theQQZoneKey);
 }