Unstable 0.17.0.0

This commit is contained in:
Markus Isberg
2022-02-26 02:43:01 +09:00
parent a83f375681
commit 3974067915
913 changed files with 32472 additions and 32364 deletions
@@ -0,0 +1,20 @@
using System;
using System.Xml.Linq;
namespace Barotrauma
{
/// <summary>
/// Prefab that has a property serves as a deterministic hash of
/// a prefab's identifier. This member is filled automatically
/// by PrefabCollection.Add. Required for GetRandom to work on
/// arbitrary Prefab enumerables, recommended for network synchronization.
/// </summary>
public abstract class PrefabWithUintIdentifier : Prefab
{
public UInt32 UintIdentifier { get; set; }
protected PrefabWithUintIdentifier(ContentFile file, Identifier identifier) : base(file, identifier) { }
protected PrefabWithUintIdentifier(ContentFile file, ContentXElement element) : base(file, element) { }
}
}