I know you do not know my code, but trust me, its a lot more than you think.
void WorldFilter_ChangeObject(object sender, Decal.Adapter.Wrappers.ChangeObjectEventArgs e)
{
// Check for ID receipt and send data
if (e.Change == WorldChangeType.IdentReceived)
{
int ItemIndex = PendingItems.BinarySearch(e.Changed.Id);
if (ItemIndex >= 0)
{
PendingItems.RemoveAt(ItemIndex);
ScannedItems.Add(e.Changed.Id);
SendToServer(e.Changed.Serialize());
}
}
}
The SendToServer line is actually a call to a procedure that enumerates every property and sends the resulting string to the server. The net effect of this identical to what the line above would be IF the WO had a Serializer(Hint Hint). Very clean, very simple. (Before you ask, items that are not ID'd are sent in the Create in a similar manner, and the server does the deduplication)
To work NetEcho into this will require some significant structure changes, because the object is currently sent immediately (via UDP) and its not held onto. I'll have to store the objects and update them, etc. which makes the solution a lot more fragmented and ugly. (Which comes first, the NetEcho or the Changed event?, Is this always the case? etc.)
None of this is really relevant, though. *I* know what needs to be done to support NetEcho in this scenario and its not a 4 line change.
All I asked for in this topic is a Decal release that supports sets. I don't need to dance around the issue and talk about what I can and can't do. I only need an honest answer from YOU. Is there going to be a Decal release before the end of the year that supports these attributes as enumerations or isn't there? I don't care what the answer is; I just need to know so I can focus MY time on either network decoding or features. From your post edit above, it looks like the former.
Thank you.
-----signature-----
Current developer of Mob Tracker (mobtracker.yewsplugins.com)
Current developer of Rare Tracker(raretracker.yewsplugins.com)
Current developer of Craft Bot(craftbot.yewsplugins.com)
Email:yew@yewsplugins.com