Beispiel #1
0
        public static CrateInfoModalScreen CreateForTargetedOfferTest(TargetedBundleVO offer, CrateVO crate)
        {
            CrateInfoModalScreen crateInfoModalScreen = CrateInfoModalScreen.CreateForTargetedOffer(offer, crate);

            crateInfoModalScreen.ignoreExpirationAutoClose = true;
            return(crateInfoModalScreen);
        }
        public void OnCrateClicked(UXButton btn)
        {
            string crateUid = btn.Tag as string;
            CrateInfoModalScreen crateInfoModalScreen = CrateInfoModalScreen.CreateForInfo(crateUid, this.currentTournamentVO.PlanetId);

            crateInfoModalScreen.IsAlwaysOnTop = true;
            Service.Get <ScreenController>().AddScreen(crateInfoModalScreen, true, false);
        }
Beispiel #3
0
        private void OnCrateClicked(UXButton crateButton)
        {
            CurrentPlayer        currentPlayer        = Service.CurrentPlayer;
            string               crateUid             = crateButton.Tag as string;
            string               planetId             = currentPlayer.PlanetId;
            CrateInfoModalScreen crateInfoModalScreen = CrateInfoModalScreen.CreateForInfo(crateUid, planetId);

            crateInfoModalScreen.IsAlwaysOnTop = true;
            Service.ScreenController.AddScreen(crateInfoModalScreen, true, false);
        }
Beispiel #4
0
 public unsafe static long $Invoke7(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(CrateInfoModalScreen.CreateForTargetedOfferTest((TargetedBundleVO)GCHandledObjects.GCHandleToObject(*args), (CrateVO)GCHandledObjects.GCHandleToObject(args[1]))));
 }
Beispiel #5
0
 public unsafe static long $Invoke5(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(CrateInfoModalScreen.CreateForStore(Marshal.PtrToStringUni(*(IntPtr *)args), Marshal.PtrToStringUni(*(IntPtr *)(args + 1)))));
 }
Beispiel #6
0
 public unsafe static long $Invoke4(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(CrateInfoModalScreen.CreateForObjectiveProgressInfo(Marshal.PtrToStringUni(*(IntPtr *)args), (ObjectiveProgress)GCHandledObjects.GCHandleToObject(args[1]))));
 }
Beispiel #7
0
 public unsafe static long $Invoke3(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(CrateInfoModalScreen.CreateForInventory((CrateData)GCHandledObjects.GCHandleToObject(*args))));
 }