Store data tied to entities cleanly without using :GetData(), a method which is accessible globally.
Function
table GetData(Entity entity)
table
Entity
void RemoveData(Entity entity)
void
void Clean()
Returns a mutable table that is tied to entity.
entity
Removes the mutable table tied to entity returned by GetData() from memory.
GetData()
Clears any mutable tables tied to Entity objects that no longer exist.
Last updated 3 years ago