Serializable component

You can remove the component to tell Concord an Entity shouldn't be serialized.

It's given automatically on Entity creation, but this can be disabled by changing Entity.SERIALIZE_BY_DEFAULT to false.
This commit is contained in:
Pablo Ariel Mayobre 2021-01-17 18:57:06 -03:00
parent 0b1e26624a
commit f9f475ce48
No known key found for this signature in database
GPG key ID: 5ACD9E6858BEB0A9
4 changed files with 32 additions and 4 deletions

View file

@ -0,0 +1,5 @@
local PATH = (...):gsub("(%.init)$", "")
return {
serializable = require(PATH..".serializable"),
}