예제 #1
0
 private int[] ReadParametersLocation(EmberReader reader)
 {
     if (reader.InnerNumber == InnerNumber.RelativeObjectIdentifier)
     {
         return(reader.ReadContentsAsInt32Array());
     }
     else
     {
         var path = new int[this.NumberPath.Length + 1];
         Array.Copy(this.NumberPath, path, this.NumberPath.Length);
         path[this.NumberPath.Length] = this.ReadInt(reader, GlowMatrixContents.ParametersLocation.Name);
         return(path);
     }
 }