1.2.37 • Published 2 years ago
@driftshark/poly v1.2.37
Guide
register components in before systems
Replication
poly is packaged with a Replication system
- destroying
ReplicationSubscription
does not automatically destroy all replicated components on the ref's client. This is because this is rarely done, and only done when a player is leaving (in which case this is unnecessary), or something like the player going into anotherWorld
. In that case, the developer should create their own solution to cleaning up replicated components, which in the previous example, would probably be to just destroy the old world on the player's client, with there being no need to send a list of components (and their refs) to remove. removeRef
, if called from the server, does not automatically remove the ref on the client. It is recommended to tag your instance entities withpolyEntity
and include the built-inEntityWatcher
system to have them automaticallyremoveRef
when destroyed. Otherwise, you must create your own solution.- the
"_N"
string is reserved for use with theDiff
ReplicationType and components with selective replication on keys of data to represent a value turned nil (so don't make any values"_N"
).
1.2.37
2 years ago
1.2.23
2 years ago
1.2.24
2 years ago
1.2.22
2 years ago
1.2.27
2 years ago
1.2.28
2 years ago
1.2.25
2 years ago
1.2.26
2 years ago
1.2.29
2 years ago
1.2.30
2 years ago
1.2.31
2 years ago
1.2.34
2 years ago
1.2.35
2 years ago
1.2.32
2 years ago
1.2.33
2 years ago
1.2.36
2 years ago
1.2.21
3 years ago
1.2.18
3 years ago
1.2.19
3 years ago
1.2.20
3 years ago
1.2.17
3 years ago
1.2.16
3 years ago
1.2.15
3 years ago
1.2.14
3 years ago
1.2.13
3 years ago
1.2.12
3 years ago
1.2.11
3 years ago
1.2.10
3 years ago
1.2.9
3 years ago
1.2.8
3 years ago
1.2.7
3 years ago
1.2.6
3 years ago
1.2.5
3 years ago
1.2.4
3 years ago
1.2.3
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.2.0
3 years ago
1.1.0
3 years ago
1.0.0
3 years ago