From 1aa56f904d13133b7bca40e8da6905b22add6bbe Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Sun, 19 Nov 2023 02:10:39 -0500 Subject: [PATCH] Added Generate --- BeefLibs/corlib/src/HashCode.bf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BeefLibs/corlib/src/HashCode.bf b/BeefLibs/corlib/src/HashCode.bf index 5cc0b332..040f0af9 100644 --- a/BeefLibs/corlib/src/HashCode.bf +++ b/BeefLibs/corlib/src/HashCode.bf @@ -119,6 +119,11 @@ static class HashCode return HashHelper.Get(value); } + public static int Generate(T value) + { + return HashHelper.Get(value); + } + public static int Get(T value) where T : IHashable { if (value == null)