コード例 #1
0
 /// <summary>
 /// Adds all wearables of a wearable type through patches.
 /// </summary>
 /// <param name="patch">Patch object.</param>
 /// <param name="path">Patch path. For example, /head/-</param>
 /// <param name="wearables">Wearables to add to this path.</param>
 private static void AddPatchWearables(JArray patch, string path, JArray wearables)
 {
     foreach (JToken wearable in wearables)
     {
         patch.Add(PatchBuilder.AddOperation(path, wearable));
     }
 }