Sync with upstream code
This commit is contained in:
@@ -26,7 +26,8 @@ public class ObjectManager(
|
|||||||
=> LastFrame;
|
=> LastFrame;
|
||||||
|
|
||||||
private DateTime _identifierUpdate;
|
private DateTime _identifierUpdate;
|
||||||
public bool IsInGPose { get; private set; }
|
|
||||||
|
public bool IsInGPose => clientState.IsGPosing;
|
||||||
//c+ custom
|
//c+ custom
|
||||||
public bool IsInLobby { get; private set; }
|
public bool IsInLobby { get; private set; }
|
||||||
public ushort World { get; private set; }
|
public ushort World { get; private set; }
|
||||||
@@ -80,9 +81,6 @@ public class ObjectManager(
|
|||||||
HandleIdentifier(identifier, actor);
|
HandleIdentifier(identifier, actor);
|
||||||
}
|
}
|
||||||
|
|
||||||
var gPose = GPosePlayer;
|
|
||||||
IsInGPose = gPose.Utf8Name.Length > 0;
|
|
||||||
|
|
||||||
//C+ custom
|
//C+ custom
|
||||||
IsInLobby = AddLobbyCharacters();
|
IsInLobby = AddLobbyCharacters();
|
||||||
|
|
||||||
@@ -91,7 +89,7 @@ public class ObjectManager(
|
|||||||
|
|
||||||
private void HandleIdentifier(ActorIdentifier identifier, Actor character)
|
private void HandleIdentifier(ActorIdentifier identifier, Actor character)
|
||||||
{
|
{
|
||||||
if (!character.Model || !identifier.IsValid)
|
if (!identifier.IsValid)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!_identifiers.TryGetValue(identifier, out var data))
|
if (!_identifiers.TryGetValue(identifier, out var data))
|
||||||
|
|||||||
Reference in New Issue
Block a user