Announcement

Collapse
No announcement yet.

About Ios Device APPID Question.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    About Ios Device APPID Question.

    anyone know how to get the ios device APPID by unrealscript , this content can't find in udn or google, thanks

    #2
    bump............ bump................

    Comment


      #3
      If you mean, how to get the 'type' of the device, you can get it almost perfectly with a little trick:

      class SeqAct_GetResolution extends SequenceAction;

      var int Width;
      var int Height;

      event Activated()
      {
      local WorldInfo WorldInfo;
      local PlayerController PlayerController;
      local LocalPlayer LocalPlayer;
      local Vector2D ViewportSize;

      Super.Activated();

      WorldInfo = class'WorldInfo'.static.GetWorldInfo();
      if (WorldInfo != None)
      {
      PlayerController = WorldInfo.GetALocalPlayerController();
      if (PlayerController != None)
      {
      LocalPlayer = LocalPlayer(PlayerController.Player);
      if (LocalPlayer != None && LocalPlayer.ViewportClient != None)
      {
      LocalPlayer.ViewportClient.GetViewportSize(Viewpor tSize);
      Width = ViewportSize.X;
      Height = ViewportSize.Y;
      }
      }
      }
      }

      defaultproperties
      {
      ObjName="Get Resolution"
      ObjCategory="Misc"

      VariableLinks.Empty
      VariableLinks(0)=(ExpectedType=class'SeqVar_Int',L inkDesc="Width",bWriteable=true,PropertyName=Width )
      VariableLinks(1)=(ExpectedType=class'SeqVar_Int',L inkDesc="Height",bWriteable=true,PropertyName=Heig ht)
      With this Kismet Node you can get the resolution of the device. Hope it'll help.

      iPhone 3G/3GS = 480x320
      iPhone 4/4S = 960x640
      iPhone 5 = 1136x640

      iPad 1/2/Mini = 1024x768
      iPad 3/4 = 2048x1536

      Comment


        #4
        thanks sim220, i need is not ios device type , but the apple game center id,or APPStore login id...

        Comment


          #5
          I seriously doubt you'll be able to get the users device ID or App store ID. That just seems like a pretty big intrusion into personal information and should not be accessed via a game.

          May I ask, why would you need this information from the user?

          Comment


            #6
            thanks Vawx, i'm doing a network game demo , and use the appstore id for the login game user name . because i have seen a lot of game like this.

            Comment

            Working...
            X