Uses of Enum
privbot.context.GameThreadPolicy
Packages that use GameThreadPolicy
-
Uses of GameThreadPolicy in privbot.context
Subclasses with type arguments of type GameThreadPolicy in privbot.contextModifier and TypeClassDescriptionenumHowGameThreadgets a read onto a thread that may touch the client.Methods in privbot.context that return GameThreadPolicyModifier and TypeMethodDescriptionstatic GameThreadPolicyGameThread.policy()The pinned policy, orAUTO.static GameThreadPolicyReturns the enum constant of this type with the specified name.static GameThreadPolicy[]GameThreadPolicy.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in privbot.context with parameters of type GameThreadPolicyModifier and TypeMethodDescriptionstatic StringGameThreadRouting.describe(GameThreadPolicy policy, boolean hasGameThread, boolean hasClientThread, boolean edtMarshalServer) A short name for whatpolicyamounts to for a copy in this state; for the log.static GameThreadRouting.RouteGameThreadRouting.ensure(GameThreadPolicy policy, GameThreadRouting.Facts f) static GameThreadRouting.RouteGameThreadRouting.invokeLater(GameThreadPolicy policy, GameThreadRouting.Facts f) Route forGameThread.invokeLater(java.lang.Runnable).static booleanGameThreadRouting.isClientThread(GameThreadPolicy policy, GameThreadRouting.Facts f) Answer forGameThread.isClientThread().static voidGameThread.pinPolicy(GameThreadPolicy pinned) Fixes how reads are routed, so a laterGameThread.init(net.runelite.api.Client, net.runelite.client.callback.ClientThread)orGameThread.setGameThread(java.lang.Thread)cannot change it.