private void RegListener() { tcb = new TestCallBack(); IOSListener.OnSplashLoadFail += tcb.OnSplashLoadFail; IOSListener.OnSplashShow += tcb.OnSplashShow; IOSListener.OnSplashClick += tcb.OnSplashClick; IOSListener.OnSplashClose += tcb.OnSplashClose; IOSListener.OnBannerLoaded += tcb.OnBannerLoaded; IOSListener.OnBannerShow += tcb.OnBannerShow; IOSListener.OnBannerClick += tcb.OnBannerClick; IOSListener.OnBannerTapClose += tcb.OnBannerTapClose; IOSListener.OnBannerAutoRefresh += tcb.OnBannerAutoRefresh; IOSListener.OnIntersitialLoadFail += tcb.OnIntersitialLoadFail; IOSListener.OnIntersitialShow += tcb.OnIntersitialShow; IOSListener.OnIntersitialClick += tcb.OnIntersitialClick; IOSListener.OnIntersitialClose += tcb.OnIntersitialClose; IOSListener.OnIntersitialPlayVideoFail += tcb.OnIntersitialPlayVideoFail; IOSListener.OnIntersitialPlayVideoStart += tcb.OnIntersitialPlayVideoStart; IOSListener.OnIntersitialPlayVideoEnd += tcb.OnIntersitialPlayVideoEnd; IOSListener.OnRewardVedioLoadFail += tcb.OnRewardVedioLoadFail; IOSListener.OnRewardVedioClick += tcb.OnRewardVedioClick; IOSListener.OnRewardVedioClose += tcb.OnRewardVedioClose; IOSListener.OnRewardVedioPlayVideoFail += tcb.OnRewardVedioPlayVideoFail; IOSListener.OnRewardVedioPlayVideoStart += tcb.OnRewardVedioPlayVideoStart; IOSListener.OnRewardVedioPlayVideoEnd += tcb.OnRewardVedioPlayVideoEnd; }
public void addCallBack(TestCallBack test) { test(10); EventDispatcher eventDispatcher = new EventDispatcher(); eventDispatcher.AddListeners += onTestEvent; }
iceD_CheckAlive(TestCallBack obj, global::IceInternal.Incoming inS, global::Ice.Current current) { global::Ice.ObjectImpl.iceCheckMode(global::Ice.OperationMode.Normal, current.mode); inS.readEmptyParams(); obj.CheckAlive(current); return(inS.setResult(inS.writeEmptyParams())); }
public void addCallBack(TestCallBack test) { test(10); EventDispatcher eventDispatcher = new EventDispatcher(); eventDispatcher.AddListeners += onTestEvent; eventDispatcher.dispatchEventWith("helloEvent"); }
public void addCallBack(TestCallBack test) { test(10); //This is not good EventDispatcher<string> eventDispatcher = new EventDispatcher<string>(); eventDispatcher.AddListeners += onTestEvent; eventDispatcher.dispatchEventWith("helloEvent"); }
public void StartSingleRollTest(Investigator i, TestCallBack callBack) { activeTestStat = TestStat.None; activeTestType = TestType.SingleRoll; testingInvestigator = i; currentCallBack = callBack; currentNumRolls = 1; currentResults = new List <int>(); App.View.testView.SingleRollTestStarted(); }
iceD_SendMessageToClient(TestCallBack obj, global::IceInternal.Incoming inS, global::Ice.Current current) { global::Ice.ObjectImpl.iceCheckMode(global::Ice.OperationMode.Normal, current.mode); var istr = inS.startReadParams(); string iceP_msg; iceP_msg = istr.readString(); inS.endReadParams(); obj.SendMessageToClient(iceP_msg, current); return(inS.setResult(inS.writeEmptyParams())); }
public void StartTest(TestStat stat, int testMod, TestType testType, Investigator i, TestCallBack callBack) { activeTestStat = stat; activeTestMod = testMod; activeTestType = testType; testingInvestigator = i; currentCallBack = callBack; currentAdditionalDie = 0; currentBonus = 0; currentResults = new List <int>(); App.View.testView.PreTest(); }
public void addCallBack(TestCallBack test) { test(10);
public Investigator testingInvestigator; // Used to cache Investigator reference incase the Investigator dies during the test void Start() { currentCallBack = null; currentResults = new List <int>(); reRolledDice = new List <int>(); }
public void addCallBack(TestCallBack test) { test(10); EventDispatcher eventDispatcher = new EventDispatcher(); }
public void addCallBack(TestCallBack test) { }
public void StartTest(TestStat stat, int testMod, TestType testType, Investigator i, TestCallBack callBack) { App.Model.testModel.StartTest(stat, testMod, testType, i, callBack); App.Controller.queueController.CreateCallBackQueue(FinishPreTestEvent); // Create Queue App.Model.eventModel.PreTestEvent(); // Populate Queue App.Controller.queueController.StartCallBackQueue(); // Start Queue }
public void StartSingleDieTest(Investigator i, TestCallBack callBack) { App.Model.testModel.StartSingleRollTest(i, callBack); }