This commit is contained in:
michael.reiswich
2021-03-18 19:23:59 +01:00
parent 77a445480f
commit 26ddf7b20f
2 changed files with 5 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d3575f5198d619cca7788b5e40866ec0dd2313d79b3628c4b169e993e5232759
size 41567232

View File

@@ -12,7 +12,7 @@ public static class AttachmentSync
/// <param name="entity">The entity to attach the object to</param> /// <param name="entity">The entity to attach the object to</param>
/// <param name="attachment">The attachment, should be in string or long type</param> /// <param name="attachment">The attachment, should be in string or long type</param>
/// <param name="remove">Pass true to remove the specified attachment, false otherwise.</param> /// <param name="remove">Pass true to remove the specified attachment, false otherwise.</param>
/*
public static void AddAttachment(this Entity entity, dynamic attachment, bool remove) public static void AddAttachment(this Entity entity, dynamic attachment, bool remove)
{ {
if (!entity.HasData("Attachments")) if (!entity.HasData("Attachments"))
@@ -152,6 +152,6 @@ public class AttachmentSyncExample : Script
veh.ClearAttachments(); veh.ClearAttachments();
} }
} }
*/
} }