diff --git a/LibBSP/src/Structs/Common/NumList.cs b/LibBSP/src/Structs/Common/NumList.cs index 45bf398..796b031 100644 --- a/LibBSP/src/Structs/Common/NumList.cs +++ b/LibBSP/src/Structs/Common/NumList.cs @@ -81,5 +81,15 @@ namespace LibBSP { } } } + + /// + /// Creates a new NumList object from a byte array and returns it. + /// + /// byte array to parse + /// The type of number to store + /// The resulting NumList + public static NumList LumpFactory(byte[] data, DataType type) { + return new NumList(data, type); + } } }