Merge branch 'develop-unstable' into develop

This commit is contained in:
EvilFactory
2022-12-14 12:11:08 -03:00
424 changed files with 12742 additions and 5893 deletions

View File

@@ -25,7 +25,7 @@ local item = ...
item.SpriteColor = Color(0, 0, 255, 255)
local property = item.SerializableProperties[Identifier("SpriteColor")]
Networking.CreateEntityEvent(item, Item.ChangePropertyEventData(property))
Networking.CreateEntityEvent(item, Item.ChangePropertyEventData(property, item))
```
This is also possible to do with item components:
@@ -36,7 +36,7 @@ local light = item.GetComponentString("LightComponent")
light.LightColor = Color(0, 0, 255, 255)
local property = light.SerializableProperties[Identifier("LightColor")]
Networking.CreateEntityEvent(item, Item.ChangePropertyEventData(property))
Networking.CreateEntityEvent(item, Item.ChangePropertyEventData(property, light))
```
## Sending Custom Net Messages