1.2.37 • Published 3 years ago
@driftshark/poly v1.2.37
Guide
register components in before systems
Replication
poly is packaged with a Replication system
- destroying
ReplicationSubscriptiondoes 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 withpolyEntityand include the built-inEntityWatchersystem to have them automaticallyremoveRefwhen destroyed. Otherwise, you must create your own solution.- the
"_N"string is reserved for use with theDiffReplicationType 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
3 years ago
1.2.23
4 years ago
1.2.24
4 years ago
1.2.22
4 years ago
1.2.27
4 years ago
1.2.28
4 years ago
1.2.25
4 years ago
1.2.26
4 years ago
1.2.29
4 years ago
1.2.30
4 years ago
1.2.31
4 years ago
1.2.34
4 years ago
1.2.35
4 years ago
1.2.32
4 years ago
1.2.33
4 years ago
1.2.36
4 years ago
1.2.21
4 years ago
1.2.18
4 years ago
1.2.19
4 years ago
1.2.20
4 years ago
1.2.17
4 years ago
1.2.16
4 years ago
1.2.15
4 years ago
1.2.14
4 years ago
1.2.13
4 years ago
1.2.12
4 years ago
1.2.11
4 years ago
1.2.10
4 years ago
1.2.9
4 years ago
1.2.8
4 years ago
1.2.7
4 years ago
1.2.6
4 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.0
4 years ago
1.0.0
4 years ago