Configurar o projeto UE4

  1. Open your UE4 project in Unreal Editor.
  2. For Blueprint projects only:
    1. Compile your UE4 project.
    2. Go to the Content Browser and add a New C++ Class with the None parent node.
  3. Go to Settings > Plugins > Installed > Xsolla Inventory SDK. Check the Enabled box and click the Restart Now button to save settings and reload the Unreal Editor.
  1. Specify project parameters:
    1. Go to Settings > Project Settings > Plugins > Xsolla Login and specify the following parameters:
      1. In the Login ID and Demo Login ID fields, specify the Login ID from Publisher Account.
      2. In the Project ID and Demo Project ID fields, specify the Project ID from Publisher Account.
      3. Enable Use OAuth 2.0 option.
      4. In the Client ID field, specify Client ID received when setting up OAuth 2.0 in Publisher Account.
Observação
If you use your own authorization system, you do not need to fill in Login ID and Demo Login ID fields.
    1. Go to Settings > Project Settings > Plugins > Xsolla Inventory and specify the following parameters:
      1. Specify the Project ID in the Project ID and Demo Project ID fields.
      2. In the Web Store URL field specify the site address of the in-game items store (optional).
Observação
You can create the site for an in-game item store using Site Builder. When setting up Site Builder, use the same Login project as when setting up the Cross-Buy plug-in.

As a result, your project in Publisher Account will be connected to demo maps.

  1. Go to Content Browser > View Options and check the boxes for Show Engine Content and Show Plugin Content.
  1. Go to Content Browser > Xsolla Content > Maps and launch the Demo_Inventory map of the game. Make sure that the authorization and other functions are working correctly.
  2. Design an interface for the login system and other pages for your application.
Observação
You can create your own solution by following UMG UI documentation, or use the demo scene as a template. To adapt the demo scene interface to your application, use the UI builder.
  1. Set up event handling according to your application logic using SDK methods. Follow the step-by-step tutorials to get started with basic SDK features.
Observação
To modify the SDK for your application specifics, follow the SDK modification instruction.
Seu progresso
Obrigado pelo seu feedback!

Continuar lendo

Última atualização: 10 de Outubro de 2023

Encontrou um erro de texto ou digitação? Selecione o texto e pressione Ctrl+Enter.

Relatar um problema
Nós sempre avaliamos nossos conteúdos. Seu feedback nos ajuda a melhorá-los.
Forneça um e-mail para que possamos responder
Obrigado pelo seu feedback!