fix: Codegens some decorations (#806)
This commit is contained in:
parent
551078670d
commit
990d151ef3
81 changed files with 884 additions and 1738 deletions
|
|
@ -27,6 +27,13 @@ namespace Server
|
|||
entity.SavePosition = -1;
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static void Delete(this ISerializable entity, IEntity toDelete)
|
||||
{
|
||||
toDelete?.Delete();
|
||||
entity.MarkDirty();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static void Add<T>(this ISerializable entity, ICollection<T> list, T value)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue