test3
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
*/
|
*/
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user