add initial CS:GO support
This commit is contained in:
@ -8,6 +8,7 @@
|
||||
<PackageId>RaidMax.IW4MAdmin.Data</PackageId>
|
||||
<Title>RaidMax.IW4MAdmin.Data</Title>
|
||||
<Authors />
|
||||
<PackageVersion>1.0.1</PackageVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -14,7 +14,8 @@
|
||||
T5 = 6,
|
||||
T6 = 7,
|
||||
T7 = 8,
|
||||
SHG1 = 9
|
||||
SHG1 = 9,
|
||||
CSGO = 10
|
||||
}
|
||||
}
|
||||
}
|
@ -5,7 +5,7 @@ namespace Data.Models
|
||||
{
|
||||
public class SharedEntity : IPropertyExtender
|
||||
{
|
||||
private readonly ConcurrentDictionary<string, object> _additionalProperties;
|
||||
private ConcurrentDictionary<string, object> _additionalProperties;
|
||||
|
||||
/// <summary>
|
||||
/// indicates if the entity is active
|
||||
@ -33,5 +33,10 @@ namespace Data.Models
|
||||
_additionalProperties.TryAdd(name, value);
|
||||
}
|
||||
}
|
||||
|
||||
public void CopyAdditionalProperties(SharedEntity source)
|
||||
{
|
||||
_additionalProperties = source._additionalProperties;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user