Skip to content

Commit

Permalink
Add wanted tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
dalkia committed Mar 6, 2024
1 parent 49ac8d3 commit 91a8ff0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions DCL_PiXYZ/PXZEntryPoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using Newtonsoft.Json;
using SceneImporter;
using UnityEngine.Pixyz.API;
using UnityEngine.Pixyz.Core;

namespace DCL_PiXYZ
{
Expand Down Expand Up @@ -288,6 +289,10 @@ private static void InitializePiXYZ()
{
pxz = PiXYZAPI.Initialize("PixyzDecentralandSDK",
"205721ba17a42f2f2d1a7cbd9924ae7f6b3b2531443973231b2c0f45450a0d01260f06716a212dc567b1bf577a");

foreach (string s in pxz.Core.ListTokens().list)
pxz.Core.AddWantedToken(s);

// if no license is found, try to configure a license server
if (!pxz.Core.CheckLicense())
pxz.Core.ConfigureLicenseServer("18.204.36.86", 27000);
Expand Down

0 comments on commit 91a8ff0

Please sign in to comment.