Readonly_A unique container where items about the pseudo should be stored. Anything within this container will be destroyed/cleaned up whenever the pseudo is destroyed. (Good for storing Servants,Maids,etc.)
Unique identifier for the Pseudo.
Use GetIdAsync() over _id.
ReadonlyClassThe ClassName of the Pseudo
Fired when the Pseudo is being destroyed.
ProtectedinternalThe Name of the Pseudo
The parent of the pseudo object
NOTE: Using the Replicator on the client can lead based on the current status of the Replicator.
Updating this value directly without using setState will not update the Name to display the state value.
Gets the currently assigned properties of the pseudo
OptionalexcludeKeys: unknown[]Will not include the given keys, think of it as a blacklist filter.
OptionalIncludeHiddenProps: booleanHidden props are considered properties that begin with _
OptionalIncludeFunctions: booleanBoth methods and callbacks are considered functions. (NOTE: functions by classes that inherit pseudo cannot be read, only Pseudo functions will exist. )
OptionalIncludeSignals: booleanWill include RBXScriptSignals and some third party library signals, if item has a ClassName of Signal | RBXScriptSignal it will be considered a signal.
OptionalAsDictionary: booleanReturns the objects as a dictionary with their values.
Optionalerr: unknownCreates the signal only when it is required. Use GetSignal if you wish to create the signal.
Destroys the Pseudo.
Optionalfilter: string[]OptionalfilterType: RaycastFilterTypeOptionallevel: numberReturns the reference instance of the pseudo
The reference Instance will not exist prior to the first call of this method for optimization sake.
Returns the ID of the Server Pseudo that it Replicates. On the Server, it will always be the same as GetIdAsync(). But on the client
it will be the ID of the Server Pseudo. On the client, this function will return nil if the Pseudo was not Replicated or it didn't extend a Pseudo class
initially.
If the signal exists/will exist if indexed.
Returns if the Pseudo is Destroyed
Optionaldependencies: ObserveDependenciesUnlike usePropertyEffect, You cannot yield within an Observe callback and also passes a Servant argument.
With that Servant, you can then add cleanup logic "per-block" within your code.
Optionaldependencies: ObserveDependenciesOptionaldependencies: ObserveDependenciesOptionalCallbackQueue: numberOptionaldependencies: ObserveDependenciesWill only run the callback once when it is triggered and removes the Observer after.
Similar to doing:
const Observer = this.ObserveNext(() => {
Observer.Destroy()
// Code...
}, ...)
Optionaldependencies: ObserveDependenciesWill execute the callback initially on a different thread using the task library. task.spawn.
Optionaldependencies: ObserveDependenciesSimilar to useMappingEffect but is two way. meaning both this and Dependencies will always have the same Properties.
useMappingEffect: Property of this changes - Updates dependencies useBindingEffect: Property of this changes - Updates dependencies && Property of a dependency changes - Updates this.
Run a function whenever Pseudo is being Destroyed
It is recommended to use the .Destroying event over this method as it is slower.
Maps the listed self.Properties values to the listed Dependencies.
OptionalCallback: (value: T) => usePropertyEffectCleanup
Updating this value directly without using setState will not update the Name to display the state value.