23 lines
890 B
C#
23 lines
890 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.Serialization;
|
|
using BinaryPack.Attributes;
|
|
using NitroxModel.DataStructures.GameLogic.Entities.Metadata;
|
|
using NitroxModel.DataStructures.Unity;
|
|
|
|
namespace NitroxModel.DataStructures.GameLogic.Entities;
|
|
|
|
[Serializable, DataContract]
|
|
public class PlacedWorldEntity : WorldEntity
|
|
{
|
|
[IgnoreConstructor]
|
|
protected PlacedWorldEntity()
|
|
{
|
|
// Constructor for serialization. Has to be "protected" for json serialization.
|
|
}
|
|
|
|
/// <remarks>Used for deserialization</remarks>
|
|
public PlacedWorldEntity(NitroxTransform transform, int level, string classId, bool spawnedByServer, NitroxId id, NitroxTechType techType, EntityMetadata metadata, NitroxId parentId, List<Entity> childEntities) :
|
|
base(transform, level, classId, spawnedByServer, id, techType, metadata, parentId, childEntities) { }
|
|
}
|