This commit is contained in:
michael.reiswich
2021-03-18 16:46:18 +01:00
parent e3d7d0ecf0
commit 77a445480f

View File

@@ -1,4 +1,4 @@
/* 
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
@@ -12,6 +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"))
@@ -151,5 +152,6 @@ public class AttachmentSyncExample : Script
veh.ClearAttachments(); veh.ClearAttachments();
} }
} }
*/
} }
*/