[C#] Update auto-generated C# bindings
[ldk-java] / c_sharp / src / org / ldk / structs / InvoiceRequestFeatures.cs
index fdbc49e7275209bdbbec39b283d47aa2b1159508..f3d15d0db5cf963ce48ce0b0ae6ab75b2958ab8c 100644 (file)
@@ -50,6 +50,18 @@ public class InvoiceRequestFeatures : CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Generates a non-cryptographic 64-bit hash of the InvoiceRequestFeatures.
+        */
+       public long hash() {
+               long ret = bindings.InvoiceRequestFeatures_hash(this.ptr);
+               GC.KeepAlive(this);
+               return ret;
+       }
+
+       public override int GetHashCode() {
+               return (int)this.hash();
+       }
        /**
         * Create a blank Features with no features set
         */