private static void RegisterActor_Postfix(long actorId, GameObject gameObj, Dictionary <long, ActorModel> p_actors) { Identifiable.Id id = Identifiable.GetId(gameObj); if (!IdentifiableRegistry.IsIdentifiableRegistered(id)) { return; } IDRegistry.RegisterActor(actorId); }
private static bool IsGuuID <V>(KeyValuePair <long, V> pair) => IDRegistry.IsActorRegistered(pair.Key);
//? Check Functions private static bool IsGuuID(long toTest) => IDRegistry.IsActorRegistered(toTest);