Files
RobustToolbox/Robust.Shared/GameObjects/Components/NetIDs.cs
T
AcruidandPieter-Jan Briers 5fe0bd6e55 EntityStates (#798)
* Added a new special MetaDataComponent to store entity data that isn't specific to a component.

* Adds ExposeData to MetaDataComponent.
Name of the entity now defaults to the prototype name.

* EntityStates changed so that the list of networked components is not sent every tick for a modified entity.

* Code cleanup & doc comments.

* MetaDataComponent Name and Description are taken from the prototype before storing them in the component.

* Adds the EntityState serializer benchmark. This isn't a test, but is really useful.

* Redesigned the logic in ServerGameStateManager.

* Adds MetaDataComponent registration to the UnitTesting project.
2019-04-26 15:38:56 +02:00

27 lines
954 B
C#

namespace Robust.Shared.GameObjects
{
public static class NetIDs
{
public const uint BASIC_MOVER = 1;
public const uint SLAVE_MOVER = 2;
public const uint PLAYER_INPUT_MOVER = 3;
public const uint META_DATA = 4;
public const uint TRANSFORM = 5;
public const uint PHYSICS = 6;
public const uint PARTICLE_SYSTEM = 7;
public const uint SPRITE = 8;
public const uint POINT_LIGHT = 10;
public const uint BOUNDING_BOX = 11;
public const uint COLLIDABLE = 12;
public const uint DIRECTION = 13;
public const uint CLICKABLE = 14;
public const uint COLLIDER = 15;
public const uint KEY_BINDING_INPUT = 16;
public const uint TRIGGERABLE = 20;
public const uint AUDIO_PLAYER = 21;
public const uint APPEARANCE = 22;
public const uint SNAPGRID = 23;
public const uint USERINTERFACE = 24;
}
}