Skip to content

Commit edbdc6c

Browse files
committed
Use new allocator constants
1 parent 14e8a2d commit edbdc6c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎modules/MultiplayAllocator/Project/MultiplayAllocator.cs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@ namespace MultiplayAllocator;
1414

1515
public class MultiplayAllocator(ILogger<MultiplayAllocator> logger) : MatchmakerAllocator
1616
{
17+
// Configuration - users should modify these constants for their setup
1718
private const string FleetId = "your_fleet_id";
1819
private const int BuildConfigId = 0;
1920
private const string DefaultRegion = "your_default_region";
20-
private const string MultiplayHost = "multiplay-stg.services.api.unity.com";
21+
22+
// Service constants
23+
private const string MultiplayHost = "multiplay.services.api.unity.com";
2124

2225
[CloudCodeFunction("Matchmaker_AllocateServer")]
2326
public override async Task<AllocateResponse> Allocate(IExecutionContext context, AllocateRequest request)

0 commit comments

Comments
 (0)