Add Job preference tests (#28625)
* Misc Job related changes * Add JobTest * A * Aa * Lets not confuse the yaml linter * fixes * a
This commit is contained in:
@@ -26,6 +26,8 @@ public sealed partial class TestPair
|
||||
public readonly List<string> TestHistory = new();
|
||||
public PoolSettings Settings = default!;
|
||||
public TestMapData? TestMap;
|
||||
private List<NetUserId> _modifiedProfiles = new();
|
||||
|
||||
public RobustIntegrationTest.ServerIntegrationInstance Server { get; private set; } = default!;
|
||||
public RobustIntegrationTest.ClientIntegrationInstance Client { get; private set; } = default!;
|
||||
|
||||
@@ -37,9 +39,7 @@ public sealed partial class TestPair
|
||||
client = Client;
|
||||
}
|
||||
|
||||
public ICommonSession? Player => Client.User == null
|
||||
? null
|
||||
: Server.PlayerMan.SessionsDict.GetValueOrDefault(Client.User.Value);
|
||||
public ICommonSession? Player => Server.PlayerMan.SessionsDict.GetValueOrDefault(Client.User!.Value);
|
||||
|
||||
public ContentPlayerData? PlayerData => Player?.Data.ContentData();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user