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);
        }
Exemple #2
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);
        }
Exemple #3
0
 public unsafe static long $Invoke2(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(CrateInfoModalScreen.CreateForInfo(Marshal.PtrToStringUni(*(IntPtr *)args), Marshal.PtrToStringUni(*(IntPtr *)(args + 1)))));
 }