Add metadata

This commit is contained in:
2025-03-29 18:57:32 +01:00
parent 653c8f77a5
commit ff808f8293
1469 changed files with 158859 additions and 13 deletions

View File

@@ -0,0 +1,49 @@
---@meta
---@class System.Object
---@operator add(Barotrauma.LocalizedString):Barotrauma.LocalizedString
_G['System']['Object'] = {}
---`Method Public Instance`
---@return System.Type
_G['System']['Object'].GetType = function() end
---`Method NonPublic Instance`
---@return System.Object
_G['System']['Object'].MemberwiseClone = function() end
---`Method NonPublic Instance Virtual`
_G['System']['Object'].Finalize = function() end
---`Method Public Instance Virtual`
---@return System.String
_G['System']['Object'].ToString = function() end
---`Method Public Instance Virtual`
---@param obj System.Object
---@return System.Boolean
_G['System']['Object'].Equals = function(obj) end
---`Method Public Static`
---@param objA System.Object
---@param objB System.Object
---@return System.Boolean
_G['System']['Object'].Equals = function(objA, objB) end
---`Method Public Static`
---@param objA System.Object
---@param objB System.Object
---@return System.Boolean
_G['System']['Object'].ReferenceEquals = function(objA, objB) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['System']['Object'].GetHashCode = function() end
---`Constructor Public Instance`
---@return System.Object
_G['System']['Object'] = function() end
---`Constructor Public Instance`
---@return System.Object
_G['System']['Object'].__new = function() end

View File

@@ -0,0 +1,78 @@
---@meta
---@class System.Boolean : System.ValueType, boolean
---`Field Private Instance`
---@field m_value System.Boolean
---`Field Public Static`
---@field TrueString System.String
---`Field Public Static`
---@field FalseString System.String
_G['System']['Boolean'] = {}
---`Method Public Instance Virtual`
---@return System.Int32
_G['System']['Boolean'].GetHashCode = function() end
---`Method Public Instance Virtual`
---@overload fun():(System.String)
---@param provider System.IFormatProvider
---@return System.String
_G['System']['Boolean'].ToString = function(provider) end
---`Method Public Instance`
---@param destination System.Span*1System*Char
---@param charsWritten System.Int32-ref
---@return System.Boolean
_G['System']['Boolean'].TryFormat = function(destination, charsWritten) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param obj System.Boolean
---@return System.Boolean
_G['System']['Boolean'].Equals = function(obj) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Int32)
---@param value System.Boolean
---@return System.Int32
_G['System']['Boolean'].CompareTo = function(value) end
---`Method NonPublic Static`
---@param value System.ReadOnlySpan*1System*Char
---@return System.Boolean
_G['System']['Boolean'].IsTrueStringIgnoreCase = function(value) end
---`Method NonPublic Static`
---@param value System.ReadOnlySpan*1System*Char
---@return System.Boolean
_G['System']['Boolean'].IsFalseStringIgnoreCase = function(value) end
---`Method Public Static`
---@overload fun(value:System.String):(System.Boolean)
---@param value System.ReadOnlySpan*1System*Char
---@return System.Boolean
_G['System']['Boolean'].Parse = function(value) end
---`Method Public Static`
---@overload fun(value:System.String, result:System.Boolean-ref):(System.Boolean)
---@param value System.ReadOnlySpan*1System*Char
---@param result System.Boolean-ref
---@return System.Boolean
_G['System']['Boolean'].TryParse = function(value, result) end
---`Method Private Static`
---@param value System.ReadOnlySpan*1System*Char
---@return System.ReadOnlySpan*1System*Char
_G['System']['Boolean'].TrimWhiteSpaceAndNull = function(value) end
---`Method Public Instance Virtual`
---@return System.TypeCode
_G['System']['Boolean'].GetTypeCode = function() end
---`Constructor Private Static`
---@return System.Boolean
_G['System']['Boolean'] = function() end
---`Constructor Private Static`
---@return System.Boolean
_G['System']['Boolean'].__new = function() end

View File

@@ -0,0 +1,88 @@
---@meta
---@class System.SByte : System.ValueType, integer
---`Field Private Instance`
---@field m_value System.SByte
---`Field Public Static`
---@field MaxValue System.SByte
---`Field Public Static`
---@field MinValue System.SByte
_G['System']['SByte'] = {}
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Int32)
---@param value System.SByte
---@return System.Int32
_G['System']['SByte'].CompareTo = function(value) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param obj System.SByte
---@return System.Boolean
_G['System']['SByte'].Equals = function(obj) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['System']['SByte'].GetHashCode = function() end
---`Method Public Instance Virtual`
---@overload fun():(System.String)
---@overload fun(provider:System.IFormatProvider):(System.String)
---@param format System.String
---@param provider System.IFormatProvider
---@return System.String
_G['System']['SByte'].ToString = function(format, provider) end
---`Method Public Instance`
---@param format System.String
---@return System.String
_G['System']['SByte'].ToString = function(format) end
---`Method Public Instance Virtual`
---@param destination System.Span*1System*Char
---@param charsWritten System.Int32-ref
---@param format? System.ReadOnlySpan*1System*Char
---@param provider? System.IFormatProvider
---@return System.Boolean
_G['System']['SByte'].TryFormat = function(destination, charsWritten, format, provider) end
---`Method Public Static`
---@overload fun(s:System.String):(System.SByte)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles):(System.SByte)
---@overload fun(s:System.String, provider:System.IFormatProvider):(System.SByte)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider):(System.SByte)
---@param s System.ReadOnlySpan*1System*Char
---@param style? System.Globalization.NumberStyles
---@param provider? System.IFormatProvider
---@return System.SByte
_G['System']['SByte'].Parse = function(s, style, provider) end
---`Method Private Static`
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param info System.Globalization.NumberFormatInfo
---@return System.SByte
_G['System']['SByte'].Parse = function(s, style, info) end
---`Method Public Static`
---@overload fun(s:System.String, result:System.SByte-ref):(System.Boolean)
---@overload fun(s:System.ReadOnlySpan*1System*Char, result:System.SByte-ref):(System.Boolean)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider, result:System.SByte-ref):(System.Boolean)
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param provider System.IFormatProvider
---@param result System.SByte-ref
---@return System.Boolean
_G['System']['SByte'].TryParse = function(s, style, provider, result) end
---`Method Private Static`
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param info System.Globalization.NumberFormatInfo
---@param result System.SByte-ref
---@return System.Boolean
_G['System']['SByte'].TryParse = function(s, style, info, result) end
---`Method Public Instance Virtual`
---@return System.TypeCode
_G['System']['SByte'].GetTypeCode = function() end

View File

@@ -0,0 +1,88 @@
---@meta
---@class System.Byte : System.ValueType, integer
---`Field Private Instance`
---@field m_value System.Byte
---`Field Public Static`
---@field MaxValue System.Byte
---`Field Public Static`
---@field MinValue System.Byte
_G['System']['Byte'] = {}
---`Method Public Instance Virtual`
---@overload fun(value:System.Object):(System.Int32)
---@param value System.Byte
---@return System.Int32
_G['System']['Byte'].CompareTo = function(value) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param obj System.Byte
---@return System.Boolean
_G['System']['Byte'].Equals = function(obj) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['System']['Byte'].GetHashCode = function() end
---`Method Public Static`
---@overload fun(s:System.String):(System.Byte)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles):(System.Byte)
---@overload fun(s:System.String, provider:System.IFormatProvider):(System.Byte)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider):(System.Byte)
---@param s System.ReadOnlySpan*1System*Char
---@param style? System.Globalization.NumberStyles
---@param provider? System.IFormatProvider
---@return System.Byte
_G['System']['Byte'].Parse = function(s, style, provider) end
---`Method Private Static`
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param info System.Globalization.NumberFormatInfo
---@return System.Byte
_G['System']['Byte'].Parse = function(s, style, info) end
---`Method Public Static`
---@overload fun(s:System.String, result:System.Byte-ref):(System.Boolean)
---@overload fun(s:System.ReadOnlySpan*1System*Char, result:System.Byte-ref):(System.Boolean)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider, result:System.Byte-ref):(System.Boolean)
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param provider System.IFormatProvider
---@param result System.Byte-ref
---@return System.Boolean
_G['System']['Byte'].TryParse = function(s, style, provider, result) end
---`Method Private Static`
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param info System.Globalization.NumberFormatInfo
---@param result System.Byte-ref
---@return System.Boolean
_G['System']['Byte'].TryParse = function(s, style, info, result) end
---`Method Public Instance Virtual`
---@overload fun():(System.String)
---@overload fun(provider:System.IFormatProvider):(System.String)
---@param format System.String
---@param provider System.IFormatProvider
---@return System.String
_G['System']['Byte'].ToString = function(format, provider) end
---`Method Public Instance`
---@param format System.String
---@return System.String
_G['System']['Byte'].ToString = function(format) end
---`Method Public Instance Virtual`
---@param destination System.Span*1System*Char
---@param charsWritten System.Int32-ref
---@param format? System.ReadOnlySpan*1System*Char
---@param provider? System.IFormatProvider
---@return System.Boolean
_G['System']['Byte'].TryFormat = function(destination, charsWritten, format, provider) end
---`Method Public Instance Virtual`
---@return System.TypeCode
_G['System']['Byte'].GetTypeCode = function() end

View File

@@ -0,0 +1,88 @@
---@meta
---@class System.Int16 : System.ValueType, integer
---`Field Private Instance`
---@field m_value System.Int16
---`Field Public Static`
---@field MaxValue System.Int16
---`Field Public Static`
---@field MinValue System.Int16
_G['System']['Int16'] = {}
---`Method Public Instance Virtual`
---@overload fun(value:System.Object):(System.Int32)
---@param value System.Int16
---@return System.Int32
_G['System']['Int16'].CompareTo = function(value) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param obj System.Int16
---@return System.Boolean
_G['System']['Int16'].Equals = function(obj) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['System']['Int16'].GetHashCode = function() end
---`Method Public Instance Virtual`
---@overload fun():(System.String)
---@overload fun(provider:System.IFormatProvider):(System.String)
---@param format System.String
---@param provider System.IFormatProvider
---@return System.String
_G['System']['Int16'].ToString = function(format, provider) end
---`Method Public Instance`
---@param format System.String
---@return System.String
_G['System']['Int16'].ToString = function(format) end
---`Method Public Instance Virtual`
---@param destination System.Span*1System*Char
---@param charsWritten System.Int32-ref
---@param format? System.ReadOnlySpan*1System*Char
---@param provider? System.IFormatProvider
---@return System.Boolean
_G['System']['Int16'].TryFormat = function(destination, charsWritten, format, provider) end
---`Method Public Static`
---@overload fun(s:System.String):(System.Int16)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles):(System.Int16)
---@overload fun(s:System.String, provider:System.IFormatProvider):(System.Int16)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider):(System.Int16)
---@param s System.ReadOnlySpan*1System*Char
---@param style? System.Globalization.NumberStyles
---@param provider? System.IFormatProvider
---@return System.Int16
_G['System']['Int16'].Parse = function(s, style, provider) end
---`Method Private Static`
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param info System.Globalization.NumberFormatInfo
---@return System.Int16
_G['System']['Int16'].Parse = function(s, style, info) end
---`Method Public Static`
---@overload fun(s:System.String, result:System.Int16-ref):(System.Boolean)
---@overload fun(s:System.ReadOnlySpan*1System*Char, result:System.Int16-ref):(System.Boolean)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider, result:System.Int16-ref):(System.Boolean)
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param provider System.IFormatProvider
---@param result System.Int16-ref
---@return System.Boolean
_G['System']['Int16'].TryParse = function(s, style, provider, result) end
---`Method Private Static`
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param info System.Globalization.NumberFormatInfo
---@param result System.Int16-ref
---@return System.Boolean
_G['System']['Int16'].TryParse = function(s, style, info, result) end
---`Method Public Instance Virtual`
---@return System.TypeCode
_G['System']['Int16'].GetTypeCode = function() end

View File

@@ -0,0 +1,88 @@
---@meta
---@class System.UInt16 : System.ValueType, integer
---`Field Private Instance`
---@field m_value System.UInt16
---`Field Public Static`
---@field MaxValue System.UInt16
---`Field Public Static`
---@field MinValue System.UInt16
_G['System']['UInt16'] = {}
---`Method Public Instance Virtual`
---@overload fun(value:System.Object):(System.Int32)
---@param value System.UInt16
---@return System.Int32
_G['System']['UInt16'].CompareTo = function(value) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param obj System.UInt16
---@return System.Boolean
_G['System']['UInt16'].Equals = function(obj) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['System']['UInt16'].GetHashCode = function() end
---`Method Public Instance Virtual`
---@overload fun():(System.String)
---@overload fun(provider:System.IFormatProvider):(System.String)
---@param format System.String
---@param provider System.IFormatProvider
---@return System.String
_G['System']['UInt16'].ToString = function(format, provider) end
---`Method Public Instance`
---@param format System.String
---@return System.String
_G['System']['UInt16'].ToString = function(format) end
---`Method Public Instance Virtual`
---@param destination System.Span*1System*Char
---@param charsWritten System.Int32-ref
---@param format? System.ReadOnlySpan*1System*Char
---@param provider? System.IFormatProvider
---@return System.Boolean
_G['System']['UInt16'].TryFormat = function(destination, charsWritten, format, provider) end
---`Method Public Static`
---@overload fun(s:System.String):(System.UInt16)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles):(System.UInt16)
---@overload fun(s:System.String, provider:System.IFormatProvider):(System.UInt16)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider):(System.UInt16)
---@param s System.ReadOnlySpan*1System*Char
---@param style? System.Globalization.NumberStyles
---@param provider? System.IFormatProvider
---@return System.UInt16
_G['System']['UInt16'].Parse = function(s, style, provider) end
---`Method Private Static`
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param info System.Globalization.NumberFormatInfo
---@return System.UInt16
_G['System']['UInt16'].Parse = function(s, style, info) end
---`Method Public Static`
---@overload fun(s:System.String, result:System.UInt16-ref):(System.Boolean)
---@overload fun(s:System.ReadOnlySpan*1System*Char, result:System.UInt16-ref):(System.Boolean)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider, result:System.UInt16-ref):(System.Boolean)
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param provider System.IFormatProvider
---@param result System.UInt16-ref
---@return System.Boolean
_G['System']['UInt16'].TryParse = function(s, style, provider, result) end
---`Method Private Static`
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param info System.Globalization.NumberFormatInfo
---@param result System.UInt16-ref
---@return System.Boolean
_G['System']['UInt16'].TryParse = function(s, style, info, result) end
---`Method Public Instance Virtual`
---@return System.TypeCode
_G['System']['UInt16'].GetTypeCode = function() end

View File

@@ -0,0 +1,78 @@
---@meta
---@class System.Int32 : System.ValueType, integer
---`Field Private Instance`
---@field m_value System.Int32
---`Field Public Static`
---@field MaxValue System.Int32
---`Field Public Static`
---@field MinValue System.Int32
_G['System']['Int32'] = {}
---`Method NonPublic Static`
---@param value System.Int32.TOther
---@return System.Int32
_G['System']['Int32'].Create = function(value) end
---`Method Public Instance Virtual`
---@overload fun(value:System.Object):(System.Int32)
---@param value System.Int32
---@return System.Int32
_G['System']['Int32'].CompareTo = function(value) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param obj System.Int32
---@return System.Boolean
_G['System']['Int32'].Equals = function(obj) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['System']['Int32'].GetHashCode = function() end
---`Method Public Instance Virtual`
---@overload fun():(System.String)
---@overload fun(provider:System.IFormatProvider):(System.String)
---@param format System.String
---@param provider System.IFormatProvider
---@return System.String
_G['System']['Int32'].ToString = function(format, provider) end
---`Method Public Instance`
---@param format System.String
---@return System.String
_G['System']['Int32'].ToString = function(format) end
---`Method Public Instance Virtual`
---@param destination System.Span*1System*Char
---@param charsWritten System.Int32-ref
---@param format? System.ReadOnlySpan*1System*Char
---@param provider? System.IFormatProvider
---@return System.Boolean
_G['System']['Int32'].TryFormat = function(destination, charsWritten, format, provider) end
---`Method Public Static`
---@overload fun(s:System.String):(System.Int32)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles):(System.Int32)
---@overload fun(s:System.String, provider:System.IFormatProvider):(System.Int32)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider):(System.Int32)
---@param s System.ReadOnlySpan*1System*Char
---@param style? System.Globalization.NumberStyles
---@param provider? System.IFormatProvider
---@return System.Int32
_G['System']['Int32'].Parse = function(s, style, provider) end
---`Method Public Static`
---@overload fun(s:System.String, result:System.Int32-ref):(System.Boolean)
---@overload fun(s:System.ReadOnlySpan*1System*Char, result:System.Int32-ref):(System.Boolean)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider, result:System.Int32-ref):(System.Boolean)
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param provider System.IFormatProvider
---@param result System.Int32-ref
---@return System.Boolean
_G['System']['Int32'].TryParse = function(s, style, provider, result) end
---`Method Public Instance Virtual`
---@return System.TypeCode
_G['System']['Int32'].GetTypeCode = function() end

View File

@@ -0,0 +1,73 @@
---@meta
---@class System.UInt32 : System.ValueType, integer
---`Field Private Instance`
---@field m_value System.UInt32
---`Field Public Static`
---@field MaxValue System.UInt32
---`Field Public Static`
---@field MinValue System.UInt32
_G['System']['UInt32'] = {}
---`Method Public Instance Virtual`
---@overload fun(value:System.Object):(System.Int32)
---@param value System.UInt32
---@return System.Int32
_G['System']['UInt32'].CompareTo = function(value) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param obj System.UInt32
---@return System.Boolean
_G['System']['UInt32'].Equals = function(obj) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['System']['UInt32'].GetHashCode = function() end
---`Method Public Instance Virtual`
---@overload fun():(System.String)
---@overload fun(provider:System.IFormatProvider):(System.String)
---@param format System.String
---@param provider System.IFormatProvider
---@return System.String
_G['System']['UInt32'].ToString = function(format, provider) end
---`Method Public Instance`
---@param format System.String
---@return System.String
_G['System']['UInt32'].ToString = function(format) end
---`Method Public Instance Virtual`
---@param destination System.Span*1System*Char
---@param charsWritten System.Int32-ref
---@param format? System.ReadOnlySpan*1System*Char
---@param provider? System.IFormatProvider
---@return System.Boolean
_G['System']['UInt32'].TryFormat = function(destination, charsWritten, format, provider) end
---`Method Public Static`
---@overload fun(s:System.String):(System.UInt32)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles):(System.UInt32)
---@overload fun(s:System.String, provider:System.IFormatProvider):(System.UInt32)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider):(System.UInt32)
---@param s System.ReadOnlySpan*1System*Char
---@param style? System.Globalization.NumberStyles
---@param provider? System.IFormatProvider
---@return System.UInt32
_G['System']['UInt32'].Parse = function(s, style, provider) end
---`Method Public Static`
---@overload fun(s:System.String, result:System.UInt32-ref):(System.Boolean)
---@overload fun(s:System.ReadOnlySpan*1System*Char, result:System.UInt32-ref):(System.Boolean)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider, result:System.UInt32-ref):(System.Boolean)
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param provider System.IFormatProvider
---@param result System.UInt32-ref
---@return System.Boolean
_G['System']['UInt32'].TryParse = function(s, style, provider, result) end
---`Method Public Instance Virtual`
---@return System.TypeCode
_G['System']['UInt32'].GetTypeCode = function() end

View File

@@ -0,0 +1,73 @@
---@meta
---@class System.Int64 : System.ValueType, integer
---`Field Private Instance`
---@field m_value System.Int64
---`Field Public Static`
---@field MaxValue System.Int64
---`Field Public Static`
---@field MinValue System.Int64
_G['System']['Int64'] = {}
---`Method Public Instance Virtual`
---@overload fun(value:System.Object):(System.Int32)
---@param value System.Int64
---@return System.Int32
_G['System']['Int64'].CompareTo = function(value) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param obj System.Int64
---@return System.Boolean
_G['System']['Int64'].Equals = function(obj) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['System']['Int64'].GetHashCode = function() end
---`Method Public Instance Virtual`
---@overload fun():(System.String)
---@overload fun(provider:System.IFormatProvider):(System.String)
---@param format System.String
---@param provider System.IFormatProvider
---@return System.String
_G['System']['Int64'].ToString = function(format, provider) end
---`Method Public Instance`
---@param format System.String
---@return System.String
_G['System']['Int64'].ToString = function(format) end
---`Method Public Instance Virtual`
---@param destination System.Span*1System*Char
---@param charsWritten System.Int32-ref
---@param format? System.ReadOnlySpan*1System*Char
---@param provider? System.IFormatProvider
---@return System.Boolean
_G['System']['Int64'].TryFormat = function(destination, charsWritten, format, provider) end
---`Method Public Static`
---@overload fun(s:System.String):(System.Int64)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles):(System.Int64)
---@overload fun(s:System.String, provider:System.IFormatProvider):(System.Int64)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider):(System.Int64)
---@param s System.ReadOnlySpan*1System*Char
---@param style? System.Globalization.NumberStyles
---@param provider? System.IFormatProvider
---@return System.Int64
_G['System']['Int64'].Parse = function(s, style, provider) end
---`Method Public Static`
---@overload fun(s:System.String, result:System.Int64-ref):(System.Boolean)
---@overload fun(s:System.ReadOnlySpan*1System*Char, result:System.Int64-ref):(System.Boolean)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider, result:System.Int64-ref):(System.Boolean)
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param provider System.IFormatProvider
---@param result System.Int64-ref
---@return System.Boolean
_G['System']['Int64'].TryParse = function(s, style, provider, result) end
---`Method Public Instance Virtual`
---@return System.TypeCode
_G['System']['Int64'].GetTypeCode = function() end

View File

@@ -0,0 +1,73 @@
---@meta
---@class System.UInt64 : System.ValueType, integer
---`Field Private Instance`
---@field m_value System.UInt64
---`Field Public Static`
---@field MaxValue System.UInt64
---`Field Public Static`
---@field MinValue System.UInt64
_G['System']['UInt64'] = {}
---`Method Public Instance Virtual`
---@overload fun(value:System.Object):(System.Int32)
---@param value System.UInt64
---@return System.Int32
_G['System']['UInt64'].CompareTo = function(value) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param obj System.UInt64
---@return System.Boolean
_G['System']['UInt64'].Equals = function(obj) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['System']['UInt64'].GetHashCode = function() end
---`Method Public Instance Virtual`
---@overload fun():(System.String)
---@overload fun(provider:System.IFormatProvider):(System.String)
---@param format System.String
---@param provider System.IFormatProvider
---@return System.String
_G['System']['UInt64'].ToString = function(format, provider) end
---`Method Public Instance`
---@param format System.String
---@return System.String
_G['System']['UInt64'].ToString = function(format) end
---`Method Public Instance Virtual`
---@param destination System.Span*1System*Char
---@param charsWritten System.Int32-ref
---@param format? System.ReadOnlySpan*1System*Char
---@param provider? System.IFormatProvider
---@return System.Boolean
_G['System']['UInt64'].TryFormat = function(destination, charsWritten, format, provider) end
---`Method Public Static`
---@overload fun(s:System.String):(System.UInt64)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles):(System.UInt64)
---@overload fun(s:System.String, provider:System.IFormatProvider):(System.UInt64)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider):(System.UInt64)
---@param s System.ReadOnlySpan*1System*Char
---@param style? System.Globalization.NumberStyles
---@param provider? System.IFormatProvider
---@return System.UInt64
_G['System']['UInt64'].Parse = function(s, style, provider) end
---`Method Public Static`
---@overload fun(s:System.String, result:System.UInt64-ref):(System.Boolean)
---@overload fun(s:System.ReadOnlySpan*1System*Char, result:System.UInt64-ref):(System.Boolean)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider, result:System.UInt64-ref):(System.Boolean)
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param provider System.IFormatProvider
---@param result System.UInt64-ref
---@return System.Boolean
_G['System']['UInt64'].TryParse = function(s, style, provider, result) end
---`Method Public Instance Virtual`
---@return System.TypeCode
_G['System']['UInt64'].GetTypeCode = function() end

View File

@@ -0,0 +1,142 @@
---@meta
---@class System.Single : System.ValueType, number
---@operator mul(Microsoft.Xna.Framework.Vector2):Microsoft.Xna.Framework.Vector2
---@operator mul(Microsoft.Xna.Framework.Vector3):Microsoft.Xna.Framework.Vector3
---@operator mul(Microsoft.Xna.Framework.Vector4):Microsoft.Xna.Framework.Vector4
---`Field Private Instance`
---@field m_value System.Single
---`Field Public Static`
---@field MinValue System.Single
---`Field Public Static`
---@field Epsilon System.Single
---`Field Public Static`
---@field MaxValue System.Single
---`Field Public Static`
---@field PositiveInfinity System.Single
---`Field Public Static`
---@field NegativeInfinity System.Single
---`Field Public Static`
---@field NaN System.Single
_G['System']['Single'] = {}
---`Method Public Static`
---@param f System.Single
---@return System.Boolean
_G['System']['Single'].IsFinite = function(f) end
---`Method Public Static`
---@param f System.Single
---@return System.Boolean
_G['System']['Single'].IsInfinity = function(f) end
---`Method Public Static`
---@param f System.Single
---@return System.Boolean
_G['System']['Single'].IsNaN = function(f) end
---`Method Public Static`
---@param f System.Single
---@return System.Boolean
_G['System']['Single'].IsNegative = function(f) end
---`Method Public Static`
---@param f System.Single
---@return System.Boolean
_G['System']['Single'].IsNegativeInfinity = function(f) end
---`Method Public Static`
---@param f System.Single
---@return System.Boolean
_G['System']['Single'].IsNormal = function(f) end
---`Method Public Static`
---@param f System.Single
---@return System.Boolean
_G['System']['Single'].IsPositiveInfinity = function(f) end
---`Method Public Static`
---@param f System.Single
---@return System.Boolean
_G['System']['Single'].IsSubnormal = function(f) end
---`Method NonPublic Static`
---@param bits System.UInt32
---@return System.Int32
_G['System']['Single'].ExtractExponentFromBits = function(bits) end
---`Method NonPublic Static`
---@param bits System.UInt32
---@return System.UInt32
_G['System']['Single'].ExtractSignificandFromBits = function(bits) end
---`Method Public Instance Virtual`
---@overload fun(value:System.Object):(System.Int32)
---@param value System.Single
---@return System.Int32
_G['System']['Single'].CompareTo = function(value) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param obj System.Single
---@return System.Boolean
_G['System']['Single'].Equals = function(obj) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['System']['Single'].GetHashCode = function() end
---`Method Public Instance Virtual`
---@overload fun():(System.String)
---@overload fun(provider:System.IFormatProvider):(System.String)
---@param format System.String
---@param provider System.IFormatProvider
---@return System.String
_G['System']['Single'].ToString = function(format, provider) end
---`Method Public Instance`
---@param format System.String
---@return System.String
_G['System']['Single'].ToString = function(format) end
---`Method Public Instance Virtual`
---@param destination System.Span*1System*Char
---@param charsWritten System.Int32-ref
---@param format? System.ReadOnlySpan*1System*Char
---@param provider? System.IFormatProvider
---@return System.Boolean
_G['System']['Single'].TryFormat = function(destination, charsWritten, format, provider) end
---`Method Public Static`
---@overload fun(s:System.String):(System.Single)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles):(System.Single)
---@overload fun(s:System.String, provider:System.IFormatProvider):(System.Single)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider):(System.Single)
---@param s System.ReadOnlySpan*1System*Char
---@param style? System.Globalization.NumberStyles
---@param provider? System.IFormatProvider
---@return System.Single
_G['System']['Single'].Parse = function(s, style, provider) end
---`Method Public Static`
---@overload fun(s:System.String, result:System.Single-ref):(System.Boolean)
---@overload fun(s:System.ReadOnlySpan*1System*Char, result:System.Single-ref):(System.Boolean)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider, result:System.Single-ref):(System.Boolean)
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param provider System.IFormatProvider
---@param result System.Single-ref
---@return System.Boolean
_G['System']['Single'].TryParse = function(s, style, provider, result) end
---`Method Private Static`
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param info System.Globalization.NumberFormatInfo
---@param result System.Single-ref
---@return System.Boolean
_G['System']['Single'].TryParse = function(s, style, info, result) end
---`Method Public Instance Virtual`
---@return System.TypeCode
_G['System']['Single'].GetTypeCode = function() end

View File

@@ -0,0 +1,140 @@
---@meta
---@class System.Double : System.ValueType, number
---@operator mul(System.TimeSpan):System.TimeSpan
---`Field Private Instance`
---@field m_value System.Double
---`Field Public Static`
---@field MinValue System.Double
---`Field Public Static`
---@field MaxValue System.Double
---`Field Public Static`
---@field Epsilon System.Double
---`Field Public Static`
---@field NegativeInfinity System.Double
---`Field Public Static`
---@field PositiveInfinity System.Double
---`Field Public Static`
---@field NaN System.Double
_G['System']['Double'] = {}
---`Method Public Static`
---@param d System.Double
---@return System.Boolean
_G['System']['Double'].IsFinite = function(d) end
---`Method Public Static`
---@param d System.Double
---@return System.Boolean
_G['System']['Double'].IsInfinity = function(d) end
---`Method Public Static`
---@param d System.Double
---@return System.Boolean
_G['System']['Double'].IsNaN = function(d) end
---`Method Public Static`
---@param d System.Double
---@return System.Boolean
_G['System']['Double'].IsNegative = function(d) end
---`Method Public Static`
---@param d System.Double
---@return System.Boolean
_G['System']['Double'].IsNegativeInfinity = function(d) end
---`Method Public Static`
---@param d System.Double
---@return System.Boolean
_G['System']['Double'].IsNormal = function(d) end
---`Method Public Static`
---@param d System.Double
---@return System.Boolean
_G['System']['Double'].IsPositiveInfinity = function(d) end
---`Method Public Static`
---@param d System.Double
---@return System.Boolean
_G['System']['Double'].IsSubnormal = function(d) end
---`Method NonPublic Static`
---@param bits System.UInt64
---@return System.Int32
_G['System']['Double'].ExtractExponentFromBits = function(bits) end
---`Method NonPublic Static`
---@param bits System.UInt64
---@return System.UInt64
_G['System']['Double'].ExtractSignificandFromBits = function(bits) end
---`Method Public Instance Virtual`
---@overload fun(value:System.Object):(System.Int32)
---@param value System.Double
---@return System.Int32
_G['System']['Double'].CompareTo = function(value) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param obj System.Double
---@return System.Boolean
_G['System']['Double'].Equals = function(obj) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['System']['Double'].GetHashCode = function() end
---`Method Public Instance Virtual`
---@overload fun():(System.String)
---@overload fun(provider:System.IFormatProvider):(System.String)
---@param format System.String
---@param provider System.IFormatProvider
---@return System.String
_G['System']['Double'].ToString = function(format, provider) end
---`Method Public Instance`
---@param format System.String
---@return System.String
_G['System']['Double'].ToString = function(format) end
---`Method Public Instance Virtual`
---@param destination System.Span*1System*Char
---@param charsWritten System.Int32-ref
---@param format? System.ReadOnlySpan*1System*Char
---@param provider? System.IFormatProvider
---@return System.Boolean
_G['System']['Double'].TryFormat = function(destination, charsWritten, format, provider) end
---`Method Public Static`
---@overload fun(s:System.String):(System.Double)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles):(System.Double)
---@overload fun(s:System.String, provider:System.IFormatProvider):(System.Double)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider):(System.Double)
---@param s System.ReadOnlySpan*1System*Char
---@param style? System.Globalization.NumberStyles
---@param provider? System.IFormatProvider
---@return System.Double
_G['System']['Double'].Parse = function(s, style, provider) end
---`Method Public Static`
---@overload fun(s:System.String, result:System.Double-ref):(System.Boolean)
---@overload fun(s:System.ReadOnlySpan*1System*Char, result:System.Double-ref):(System.Boolean)
---@overload fun(s:System.String, style:System.Globalization.NumberStyles, provider:System.IFormatProvider, result:System.Double-ref):(System.Boolean)
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param provider System.IFormatProvider
---@param result System.Double-ref
---@return System.Boolean
_G['System']['Double'].TryParse = function(s, style, provider, result) end
---`Method Private Static`
---@param s System.ReadOnlySpan*1System*Char
---@param style System.Globalization.NumberStyles
---@param info System.Globalization.NumberFormatInfo
---@param result System.Double-ref
---@return System.Boolean
_G['System']['Double'].TryParse = function(s, style, info, result) end
---`Method Public Instance Virtual`
---@return System.TypeCode
_G['System']['Double'].GetTypeCode = function() end

View File

@@ -0,0 +1,736 @@
---@meta
---@class System.String : System.Object, {[System.Int32]:System.Char}, string
---`Field Private Instance`
---@field _stringLength System.Int32
---`Field Private Instance`
---@field _firstChar System.Char
---`Field Public Static`
---@field Empty System.String
---`Getter Public Instance`
---@field Length System.Int32
_G['System']['String'] = {}
---`Method Public Instance`
---@overload fun(value:System.String, startIndex:System.Int32):(System.Int32)
---@overload fun(value:System.String, startIndex:System.Int32, count:System.Int32):(System.Int32)
---@overload fun(value:System.String, comparisonType:System.StringComparison):(System.Int32)
---@overload fun(value:System.String, startIndex:System.Int32, comparisonType:System.StringComparison):(System.Int32)
---@overload fun(value:System.String, startIndex:System.Int32, count:System.Int32, comparisonType:System.StringComparison):(System.Int32)
---@overload fun(value:System.Char):(System.Int32)
---@overload fun(value:System.Char, startIndex:System.Int32):(System.Int32)
---@overload fun(value:System.Char, startIndex:System.Int32, count:System.Int32):(System.Int32)
---@param value System.String
---@return System.Int32
_G['System']['String'].LastIndexOf = function(value) end
---`Method Public Instance`
---@overload fun(totalWidth:System.Int32):(System.String)
---@param totalWidth System.Int32
---@param paddingChar System.Char
---@return System.String
_G['System']['String'].PadRight = function(totalWidth, paddingChar) end
---`Method Public Instance`
---@overload fun(startIndex:System.Int32, count:System.Int32):(System.String)
---@param startIndex System.Int32
---@return System.String
_G['System']['String'].Remove = function(startIndex) end
---`Method Public Instance`
---@overload fun(oldValue:System.String, newValue:System.String, ignoreCase:System.Boolean, culture:System.Globalization.CultureInfo):(System.String)
---@overload fun(oldValue:System.String, newValue:System.String, comparisonType:System.StringComparison):(System.String)
---@overload fun(oldChar:System.Char, newChar:System.Char):(System.String)
---@param oldValue System.String
---@param newValue System.String
---@return System.String
_G['System']['String'].Replace = function(oldValue, newValue) end
---`Method Private Instance`
---@param oldValue System.String
---@param newValue System.String
---@param ci System.Globalization.CompareInfo
---@param options System.Globalization.CompareOptions
---@return System.String
_G['System']['String'].ReplaceCore = function(oldValue, newValue, ci, options) end
---`Method Private Static`
---@param searchSpace System.ReadOnlySpan*1System*Char
---@param oldValue System.ReadOnlySpan*1System*Char
---@param newValue System.ReadOnlySpan*1System*Char
---@param compareInfo System.Globalization.CompareInfo
---@param options System.Globalization.CompareOptions
---@return System.String
_G['System']['String'].ReplaceCore = function(searchSpace, oldValue, newValue, compareInfo, options) end
---`Method Private Instance`
---@param oldValueLength System.Int32
---@param newValue System.String
---@param indices System.ReadOnlySpan*1System*Int32
---@return System.String
_G['System']['String'].ReplaceHelper = function(oldValueLength, newValue, indices) end
---`Method Public Instance`
---@overload fun():(System.String)
---@param replacementText System.String
---@return System.String
_G['System']['String'].ReplaceLineEndings = function(replacementText) end
---`Method NonPublic Static`
---@param text System.ReadOnlySpan*1System*Char
---@param stride System.Int32-ref
---@return System.Int32
_G['System']['String'].IndexOfNewlineChar = function(text, stride) end
---`Method Public Instance`
---@overload fun(separator:System.Char, options?:System.StringSplitOptions):((System.String-arr)|(System.String[]))
---@overload fun(separator:System.Char, count:System.Int32, options?:System.StringSplitOptions):((System.String-arr)|(System.String[]))
---@overload fun(...:System.Char):((System.String-arr)|(System.String[]))
---@overload fun(separator:(System.Char-arr)|(System.Char[]), count:System.Int32):((System.String-arr)|(System.String[]))
---@overload fun(separator:(System.Char-arr)|(System.Char[]), options:System.StringSplitOptions):((System.String-arr)|(System.String[]))
---@overload fun(separator:(System.Char-arr)|(System.Char[]), count:System.Int32, options:System.StringSplitOptions):((System.String-arr)|(System.String[]))
---@overload fun(separator:System.String, options?:System.StringSplitOptions):((System.String-arr)|(System.String[]))
---@overload fun(separator:System.String, count:System.Int32, options?:System.StringSplitOptions):((System.String-arr)|(System.String[]))
---@overload fun(separator:(System.String-arr)|(System.String[]), options:System.StringSplitOptions):((System.String-arr)|(System.String[]))
---@param separator (System.String-arr)|(System.String[])
---@param count System.Int32
---@param options System.StringSplitOptions
---@return (System.String-arr)|(System.String[])
_G['System']['String'].Split = function(separator, count, options) end
---`Method Private Instance`
---@overload fun(separators:System.ReadOnlySpan*1System*Char, count:System.Int32, options:System.StringSplitOptions):((System.String-arr)|(System.String[]))
---@overload fun(separator:System.String, separators:(System.String-arr)|(System.String[]), count:System.Int32, options:System.StringSplitOptions):((System.String-arr)|(System.String[]))
---@param separator System.String
---@param count System.Int32
---@param options System.StringSplitOptions
---@return (System.String-arr)|(System.String[])
_G['System']['String'].SplitInternal = function(separator, count, options) end
---`Method Private Instance`
---@param sepList System.ReadOnlySpan*1System*Int32
---@param lengthList System.ReadOnlySpan*1System*Int32
---@param defaultLength System.Int32
---@param count System.Int32
---@return (System.String-arr)|(System.String[])
_G['System']['String'].SplitWithoutPostProcessing = function(sepList, lengthList, defaultLength, count) end
---`Method Private Instance`
---@param sepList System.ReadOnlySpan*1System*Int32
---@param lengthList System.ReadOnlySpan*1System*Int32
---@param defaultLength System.Int32
---@param count System.Int32
---@param options System.StringSplitOptions
---@return (System.String-arr)|(System.String[])
_G['System']['String'].SplitWithPostProcessing = function(sepList, lengthList, defaultLength, count, options) end
---`Method Private Instance`
---@overload fun(separators:System.ReadOnlySpan*1System*Char, sepListBuilder:System.Collections.Generic.ValueListBuilder)
---@overload fun(separator:System.String, sepListBuilder:System.Collections.Generic.ValueListBuilder)
---@param separators (System.String-arr)|(System.String[])
---@param sepListBuilder System.Collections.Generic.ValueListBuilder
---@param lengthListBuilder System.Collections.Generic.ValueListBuilder
_G['System']['String'].MakeSeparatorList = function(separators, sepListBuilder, lengthListBuilder) end
---`Method Private Instance`
---@param sepListBuilder System.Collections.Generic.ValueListBuilder
---@param c System.Char
---@param c2 System.Char
---@param c3 System.Char
_G['System']['String'].MakeSeparatorListVectorized = function(sepListBuilder, c, c2, c3) end
---`Method Private Static`
---@param options System.StringSplitOptions
_G['System']['String'].CheckStringSplitOptions = function(options) end
---`Method Public Instance`
---@overload fun(startIndex:System.Int32):(System.String)
---@param startIndex System.Int32
---@param length System.Int32
---@return System.String
_G['System']['String'].Substring = function(startIndex, length) end
---`Method Private Instance`
---@param startIndex System.Int32
---@param length System.Int32
---@return System.String
_G['System']['String'].InternalSubString = function(startIndex, length) end
---`Method Public Instance`
---@overload fun():(System.String)
---@param culture System.Globalization.CultureInfo
---@return System.String
_G['System']['String'].ToLower = function(culture) end
---`Method Public Instance`
---@return System.String
_G['System']['String'].ToLowerInvariant = function() end
---`Method Public Instance`
---@overload fun():(System.String)
---@param culture System.Globalization.CultureInfo
---@return System.String
_G['System']['String'].ToUpper = function(culture) end
---`Method Public Instance`
---@return System.String
_G['System']['String'].ToUpperInvariant = function() end
---`Method Public Instance`
---@overload fun():(System.String)
---@overload fun(trimChar:System.Char):(System.String)
---@param ... System.Char
---@return System.String
_G['System']['String'].Trim = function(...) end
---`Method Public Instance`
---@overload fun():(System.String)
---@overload fun(trimChar:System.Char):(System.String)
---@param ... System.Char
---@return System.String
_G['System']['String'].TrimStart = function(...) end
---`Method Public Instance`
---@overload fun():(System.String)
---@overload fun(trimChar:System.Char):(System.String)
---@param ... System.Char
---@return System.String
_G['System']['String'].TrimEnd = function(...) end
---`Method Private Instance`
---@param trimType System.Text.TrimType
---@return System.String
_G['System']['String'].TrimWhiteSpaceHelper = function(trimType) end
---`Method Private Instance`
---@param trimChars System.Char-ptr
---@param trimCharsLength System.Int32
---@param trimType System.Text.TrimType
---@return System.String
_G['System']['String'].TrimHelper = function(trimChars, trimCharsLength, trimType) end
---`Method Private Instance`
---@param start System.Int32
---@param luaKey__end System.Int32
---@return System.String
_G['System']['String'].CreateTrimmedString = function(start, luaKey__end) end
---`Method Public Instance`
---@overload fun(value:System.String):(System.Boolean)
---@overload fun(value:System.String, comparisonType:System.StringComparison):(System.Boolean)
---@overload fun(value:System.Char):(System.Boolean)
---@param value System.Char
---@param comparisonType System.StringComparison
---@return System.Boolean
_G['System']['String'].Contains = function(value, comparisonType) end
---`Method Public Instance`
---@overload fun(value:System.Char):(System.Int32)
---@overload fun(value:System.Char, startIndex:System.Int32):(System.Int32)
---@overload fun(value:System.Char, comparisonType:System.StringComparison):(System.Int32)
---@overload fun(value:System.Char, startIndex:System.Int32, count:System.Int32):(System.Int32)
---@overload fun(value:System.String):(System.Int32)
---@overload fun(value:System.String, startIndex:System.Int32):(System.Int32)
---@overload fun(value:System.String, startIndex:System.Int32, count:System.Int32):(System.Int32)
---@overload fun(value:System.String, comparisonType:System.StringComparison):(System.Int32)
---@overload fun(value:System.String, startIndex:System.Int32, comparisonType:System.StringComparison):(System.Int32)
---@param value System.String
---@param startIndex System.Int32
---@param count System.Int32
---@param comparisonType System.StringComparison
---@return System.Int32
_G['System']['String'].IndexOf = function(value, startIndex, count, comparisonType) end
---`Method Public Instance`
---@overload fun(anyOf:(System.Char-arr)|(System.Char[])):(System.Int32)
---@overload fun(anyOf:(System.Char-arr)|(System.Char[]), startIndex:System.Int32):(System.Int32)
---@param anyOf (System.Char-arr)|(System.Char[])
---@param startIndex System.Int32
---@param count System.Int32
---@return System.Int32
_G['System']['String'].IndexOfAny = function(anyOf, startIndex, count) end
---`Method Private Instance`
---@param anyOf (System.Char-arr)|(System.Char[])
---@param startIndex System.Int32
---@param count System.Int32
---@return System.Int32
_G['System']['String'].IndexOfCharArray = function(anyOf, startIndex, count) end
---`Method Private Static`
---@param charMap System.UInt32-ptr
---@param anyOf System.ReadOnlySpan*1System*Char
_G['System']['String'].InitializeProbabilisticMap = function(charMap, anyOf) end
---`Method Private Static`
---@param searchChar System.Char
---@param anyOf (System.Char-arr)|(System.Char[])
---@return System.Boolean
_G['System']['String'].ArrayContains = function(searchChar, anyOf) end
---`Method Private Static`
---@param charMap System.UInt32-ptr
---@param value System.Byte
---@return System.Boolean
_G['System']['String'].IsCharBitSet = function(charMap, value) end
---`Method Private Static`
---@param charMap System.UInt32-ptr
---@param value System.Byte
_G['System']['String'].SetCharBit = function(charMap, value) end
---`Method Public Instance`
---@overload fun(anyOf:(System.Char-arr)|(System.Char[])):(System.Int32)
---@overload fun(anyOf:(System.Char-arr)|(System.Char[]), startIndex:System.Int32):(System.Int32)
---@param anyOf (System.Char-arr)|(System.Char[])
---@param startIndex System.Int32
---@param count System.Int32
---@return System.Int32
_G['System']['String'].LastIndexOfAny = function(anyOf, startIndex, count) end
---`Method Private Instance`
---@param anyOf (System.Char-arr)|(System.Char[])
---@param startIndex System.Int32
---@param count System.Int32
---@return System.Int32
_G['System']['String'].LastIndexOfCharArray = function(anyOf, startIndex, count) end
---`Method Public Static`
---@param value System.String
---@return System.Boolean
_G['System']['String'].IsNullOrEmpty = function(value) end
---`Method Public Static`
---@param value System.String
---@return System.Boolean
_G['System']['String'].IsNullOrWhiteSpace = function(value) end
---`Method Public Instance`
---@return System.Char-ref
_G['System']['String'].GetPinnableReference = function() end
---`Method NonPublic Instance`
---@return System.Char-ref
_G['System']['String'].GetRawStringData = function() end
---`Method NonPublic Static`
---@param bytes System.Byte-ptr
---@param byteLength System.Int32
---@param encoding System.Text.Encoding
---@return System.String
_G['System']['String'].CreateStringFromEncoding = function(bytes, byteLength, encoding) end
---`Method NonPublic Static`
---@overload fun(c:System.Char):(System.String)
---@param c1 System.Char
---@param c2 System.Char
---@return System.String
_G['System']['String'].CreateFromChar = function(c1, c2) end
---`Method Public Instance Virtual`
---@overload fun():(System.String)
---@param provider System.IFormatProvider
---@return System.String
_G['System']['String'].ToString = function(provider) end
---`Method Public Instance`
---@return System.CharEnumerator
_G['System']['String'].GetEnumerator = function() end
---`Method Public Instance`
---@return System.Text.StringRuneEnumerator
_G['System']['String'].EnumerateRunes = function() end
---`Method NonPublic Static`
---@param ptr System.Char-ptr
---@return System.Int32
_G['System']['String'].wcslen = function(ptr) end
---`Method NonPublic Static`
---@param ptr System.Byte-ptr
---@return System.Int32
_G['System']['String'].strlen = function(ptr) end
---`Method Private Static`
_G['System']['String'].ThrowMustBeNullTerminatedString = function() end
---`Method Public Instance Virtual`
---@return System.TypeCode
_G['System']['String'].GetTypeCode = function() end
---`Method Public Instance`
---@overload fun():(System.Boolean)
---@param normalizationForm System.Text.NormalizationForm
---@return System.Boolean
_G['System']['String'].IsNormalized = function(normalizationForm) end
---`Method Public Instance`
---@overload fun():(System.String)
---@param normalizationForm System.Text.NormalizationForm
---@return System.String
_G['System']['String'].Normalize = function(normalizationForm) end
---`Method Private Instance`
---@return System.Boolean
_G['System']['String'].IsAscii = function() end
---`Method Private Static`
---@param dest System.String
---@param destPos System.Int32
---@param src System.String
_G['System']['String'].FillStringChecked = function(dest, destPos, src) end
---`Method Public Static`
---@overload fun(arg0:System.Object):(System.String)
---@overload fun(arg0:System.Object, arg1:System.Object):(System.String)
---@overload fun(arg0:System.Object, arg1:System.Object, arg2:System.Object):(System.String)
---@overload fun(...:System.Object):(System.String)
---@overload fun(values:(System.Collections.Generic.IEnumerable*1System*String*T)|(fun():(System.String.T))):(System.String)
---@overload fun(values:(System.Collections.Generic.IEnumerable*1System*String)|(fun():(System.String))):(System.String)
---@overload fun(str0:System.String, str1:System.String):(System.String)
---@overload fun(str0:System.String, str1:System.String, str2:System.String):(System.String)
---@overload fun(str0:System.String, str1:System.String, str2:System.String, str3:System.String):(System.String)
---@overload fun(str0:System.ReadOnlySpan*1System*Char, str1:System.ReadOnlySpan*1System*Char):(System.String)
---@overload fun(str0:System.ReadOnlySpan*1System*Char, str1:System.ReadOnlySpan*1System*Char, str2:System.ReadOnlySpan*1System*Char):(System.String)
---@overload fun(str0:System.ReadOnlySpan*1System*Char, str1:System.ReadOnlySpan*1System*Char, str2:System.ReadOnlySpan*1System*Char, str3:System.ReadOnlySpan*1System*Char):(System.String)
---@param ... System.String
---@return System.String
_G['System']['String'].Concat = function(...) end
---`Method Public Static`
---@overload fun(format:System.String, arg0:System.Object):(System.String)
---@overload fun(format:System.String, arg0:System.Object, arg1:System.Object):(System.String)
---@overload fun(format:System.String, arg0:System.Object, arg1:System.Object, arg2:System.Object):(System.String)
---@overload fun(format:System.String, ...:System.Object):(System.String)
---@overload fun(provider:System.IFormatProvider, format:System.String, arg0:System.Object):(System.String)
---@overload fun(provider:System.IFormatProvider, format:System.String, arg0:System.Object, arg1:System.Object):(System.String)
---@overload fun(provider:System.IFormatProvider, format:System.String, arg0:System.Object, arg1:System.Object, arg2:System.Object):(System.String)
---@param provider System.IFormatProvider
---@param format System.String
---@param ... System.Object
---@return System.String
_G['System']['String'].Format = function(provider, format, ...) end
---`Method Private Static`
---@param provider System.IFormatProvider
---@param format System.String
---@param args System.ParamsArray
---@return System.String
_G['System']['String'].FormatHelper = function(provider, format, args) end
---`Method Public Instance`
---@param startIndex System.Int32
---@param value System.String
---@return System.String
_G['System']['String'].Insert = function(startIndex, value) end
---`Method Public Static`
---@overload fun(separator:System.Char, ...:System.String):(System.String)
---@overload fun(separator:System.String, ...:System.String):(System.String)
---@overload fun(separator:System.Char, value:(System.String-arr)|(System.String[]), startIndex:System.Int32, count:System.Int32):(System.String)
---@overload fun(separator:System.String, value:(System.String-arr)|(System.String[]), startIndex:System.Int32, count:System.Int32):(System.String)
---@overload fun(separator:System.String, values:(System.Collections.Generic.IEnumerable*1System*String)|(fun():(System.String))):(System.String)
---@overload fun(separator:System.Char, ...:System.Object):(System.String)
---@overload fun(separator:System.String, ...:System.Object):(System.String)
---@overload fun(separator:System.Char, values:(System.Collections.Generic.IEnumerable*1System*String*T)|(fun():(System.String.T))):(System.String)
---@param separator System.String
---@param values (System.Collections.Generic.IEnumerable*1System*String*T)|(fun():(System.String.T))
---@return System.String
_G['System']['String'].Join = function(separator, values) end
---`Method Private Static`
---@overload fun(separator:System.ReadOnlySpan*1System*Char, value:(System.String-arr)|(System.String[]), startIndex:System.Int32, count:System.Int32):(System.String)
---@overload fun(separator:System.ReadOnlySpan*1System*Char, values:(System.Object-arr)|(System.Object[])):(System.String)
---@overload fun(separator:System.ReadOnlySpan*1System*Char, values:(System.Collections.Generic.IEnumerable*1System*String*T)|(fun():(System.String.T))):(System.String)
---@param separator System.ReadOnlySpan*1System*Char
---@param values System.ReadOnlySpan*1System*String
---@return System.String
_G['System']['String'].JoinCore = function(separator, values) end
---`Method Public Instance`
---@overload fun(totalWidth:System.Int32):(System.String)
---@param totalWidth System.Int32
---@param paddingChar System.Char
---@return System.String
_G['System']['String'].PadLeft = function(totalWidth, paddingChar) end
---`Method NonPublic Static`
---@param length System.Int32
---@return System.String
_G['System']['String'].FastAllocateString = function(length) end
---`Method NonPublic Instance`
---@param data System.Byte
_G['System']['String'].SetTrailByte = function(data) end
---`Method NonPublic Instance`
---@param data System.Byte-ref
---@return System.Boolean
_G['System']['String'].TryGetTrailByte = function(data) end
---`Method Private Instance`
---@return System.String
_G['System']['String'].Intern = function() end
---`Method Public Static`
---@param str System.String
---@return System.String
_G['System']['String'].Intern = function(str) end
---`Method Private Instance`
---@return System.String
_G['System']['String'].IsInterned = function() end
---`Method Public Static`
---@param str System.String
---@return System.String
_G['System']['String'].IsInterned = function(str) end
---`Method NonPublic Static`
---@param src System.String
---@param dest System.IntPtr
---@param len System.Int32
_G['System']['String'].InternalCopy = function(src, dest, len) end
---`Method NonPublic Instance`
---@param pbNativeBuffer System.Byte-ptr
---@param cbNativeBuffer System.Int32
---@param encoding System.Text.Encoding
---@return System.Int32
_G['System']['String'].GetBytesFromEncoding = function(pbNativeBuffer, cbNativeBuffer, encoding) end
---`Method Private Static`
---@param strA System.String
---@param strB System.String
---@return System.Boolean
_G['System']['String'].EqualsHelper = function(strA, strB) end
---`Method Private Static`
---@overload fun(strA:System.String, indexA:System.Int32, countA:System.Int32, strB:System.String, indexB:System.Int32, countB:System.Int32):(System.Int32)
---@param strA System.String
---@param strB System.String
---@return System.Int32
_G['System']['String'].CompareOrdinalHelper = function(strA, strB) end
---`Method NonPublic Static`
---@param strA System.String
---@param strB System.String
---@return System.Boolean
_G['System']['String'].EqualsOrdinalIgnoreCase = function(strA, strB) end
---`Method Private Static`
---@param strA System.String
---@param strB System.String
---@return System.Boolean
_G['System']['String'].EqualsOrdinalIgnoreCaseNoLengthCheck = function(strA, strB) end
---`Method Public Static`
---@overload fun(strA:System.String, strB:System.String):(System.Int32)
---@overload fun(strA:System.String, strB:System.String, ignoreCase:System.Boolean):(System.Int32)
---@overload fun(strA:System.String, strB:System.String, comparisonType:System.StringComparison):(System.Int32)
---@overload fun(strA:System.String, strB:System.String, culture:System.Globalization.CultureInfo, options:System.Globalization.CompareOptions):(System.Int32)
---@overload fun(strA:System.String, strB:System.String, ignoreCase:System.Boolean, culture:System.Globalization.CultureInfo):(System.Int32)
---@overload fun(strA:System.String, indexA:System.Int32, strB:System.String, indexB:System.Int32, length:System.Int32):(System.Int32)
---@overload fun(strA:System.String, indexA:System.Int32, strB:System.String, indexB:System.Int32, length:System.Int32, ignoreCase:System.Boolean):(System.Int32)
---@overload fun(strA:System.String, indexA:System.Int32, strB:System.String, indexB:System.Int32, length:System.Int32, ignoreCase:System.Boolean, culture:System.Globalization.CultureInfo):(System.Int32)
---@overload fun(strA:System.String, indexA:System.Int32, strB:System.String, indexB:System.Int32, length:System.Int32, culture:System.Globalization.CultureInfo, options:System.Globalization.CompareOptions):(System.Int32)
---@param strA System.String
---@param indexA System.Int32
---@param strB System.String
---@param indexB System.Int32
---@param length System.Int32
---@param comparisonType System.StringComparison
---@return System.Int32
_G['System']['String'].Compare = function(strA, indexA, strB, indexB, length, comparisonType) end
---`Method Public Static`
---@overload fun(strA:System.String, strB:System.String):(System.Int32)
---@param strA System.String
---@param indexA System.Int32
---@param strB System.String
---@param indexB System.Int32
---@param length System.Int32
---@return System.Int32
_G['System']['String'].CompareOrdinal = function(strA, indexA, strB, indexB, length) end
---`Method NonPublic Static`
---@param strA System.ReadOnlySpan*1System*Char
---@param strB System.ReadOnlySpan*1System*Char
---@return System.Int32
_G['System']['String'].CompareOrdinal = function(strA, strB) end
---`Method Public Instance Virtual`
---@overload fun(value:System.Object):(System.Int32)
---@param strB System.String
---@return System.Int32
_G['System']['String'].CompareTo = function(strB) end
---`Method Public Instance`
---@overload fun(value:System.String):(System.Boolean)
---@overload fun(value:System.String, comparisonType:System.StringComparison):(System.Boolean)
---@overload fun(value:System.String, ignoreCase:System.Boolean, culture:System.Globalization.CultureInfo):(System.Boolean)
---@param value System.Char
---@return System.Boolean
_G['System']['String'].EndsWith = function(value) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param value System.String
---@return System.Boolean
_G['System']['String'].Equals = function(value) end
---`Method Public Instance`
---@param value System.String
---@param comparisonType System.StringComparison
---@return System.Boolean
_G['System']['String'].Equals = function(value, comparisonType) end
---`Method Public Static`
---@overload fun(a:System.String, b:System.String):(System.Boolean)
---@param a System.String
---@param b System.String
---@param comparisonType System.StringComparison
---@return System.Boolean
_G['System']['String'].Equals = function(a, b, comparisonType) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['System']['String'].GetHashCode = function() end
---`Method Public Instance`
---@param comparisonType System.StringComparison
---@return System.Int32
_G['System']['String'].GetHashCode = function(comparisonType) end
---`Method Public Static`
---@overload fun(value:System.ReadOnlySpan*1System*Char):(System.Int32)
---@param value System.ReadOnlySpan*1System*Char
---@param comparisonType System.StringComparison
---@return System.Int32
_G['System']['String'].GetHashCode = function(value, comparisonType) end
---`Method NonPublic Instance`
---@return System.Int32
_G['System']['String'].GetHashCodeOrdinalIgnoreCase = function() end
---`Method NonPublic Static`
---@param value System.ReadOnlySpan*1System*Char
---@return System.Int32
_G['System']['String'].GetHashCodeOrdinalIgnoreCase = function(value) end
---`Method NonPublic Instance`
---@return System.Int32
_G['System']['String'].GetNonRandomizedHashCode = function() end
---`Method NonPublic Instance`
---@return System.Int32
_G['System']['String'].GetNonRandomizedHashCodeOrdinalIgnoreCase = function() end
---`Method Public Instance`
---@overload fun(value:System.String):(System.Boolean)
---@overload fun(value:System.String, comparisonType:System.StringComparison):(System.Boolean)
---@overload fun(value:System.String, ignoreCase:System.Boolean, culture:System.Globalization.CultureInfo):(System.Boolean)
---@param value System.Char
---@return System.Boolean
_G['System']['String'].StartsWith = function(value) end
---`Method NonPublic Static`
---@param comparisonType System.StringComparison
_G['System']['String'].CheckStringComparison = function(comparisonType) end
---`Method NonPublic Static`
---@param comparisonType System.StringComparison
---@return System.Globalization.CompareOptions
_G['System']['String'].GetCaseCompareOfComparisonCulture = function(comparisonType) end
---`Method Private Static`
---@param comparisonType System.StringComparison
---@return System.Globalization.CompareOptions
_G['System']['String'].GetCompareOptionsFromOrdinalStringComparison = function(comparisonType) end
---`Method Private Instance`
---@overload fun(value:(System.Char-arr)|(System.Char[])):(System.String)
---@overload fun(value:(System.Char-arr)|(System.Char[]), startIndex:System.Int32, length:System.Int32):(System.String)
---@overload fun(ptr:System.Char-ptr):(System.String)
---@overload fun(ptr:System.Char-ptr, startIndex:System.Int32, length:System.Int32):(System.String)
---@overload fun(value:System.SByte-ptr):(System.String)
---@overload fun(value:System.SByte-ptr, startIndex:System.Int32, length:System.Int32):(System.String)
---@overload fun(value:System.SByte-ptr, startIndex:System.Int32, length:System.Int32, enc:System.Text.Encoding):(System.String)
---@overload fun(c:System.Char, count:System.Int32):(System.String)
---@param value System.ReadOnlySpan*1System*Char
---@return System.String
_G['System']['String'].Ctor = function(value) end
---`Method Private Static`
---@param pb System.Byte-ptr
---@param numBytes System.Int32
---@return System.String
_G['System']['String'].CreateStringForSByteConstructor = function(pb, numBytes) end
---`Method Public Static`
---@overload fun(length:System.Int32, state:System.String.TState, action:(System.Buffers.SpanAction*1System*Char*1System*String*TState)|(fun(span:System.Span*1System*Char, arg:System.String.TState))):(System.String)
---@overload fun(provider:System.IFormatProvider, handler:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler-ref):(System.String)
---@param provider System.IFormatProvider
---@param initialBuffer System.Span*1System*Char
---@param handler System.Runtime.CompilerServices.DefaultInterpolatedStringHandler-ref
---@return System.String
_G['System']['String'].Create = function(provider, initialBuffer, handler) end
---`Method NonPublic Instance`
---@param startIndex System.Int32
---@param count System.Int32
---@param slice System.ReadOnlySpan
---@return System.Boolean
_G['System']['String'].TryGetSpan = function(startIndex, count, slice) end
---`Method Public Instance Virtual`
---@return System.Object
_G['System']['String'].Clone = function() end
---`Method Public Static`
---@param str System.String
---@return System.String
_G['System']['String'].Copy = function(str) end
---`Method Public Instance`
---@overload fun(sourceIndex:System.Int32, destination:(System.Char-arr)|(System.Char[]), destinationIndex:System.Int32, count:System.Int32)
---@param destination System.Span*1System*Char
_G['System']['String'].CopyTo = function(destination) end
---`Method Public Instance`
---@param destination System.Span*1System*Char
---@return System.Boolean
_G['System']['String'].TryCopyTo = function(destination) end
---`Method Public Instance`
---@overload fun():((System.Char-arr)|(System.Char[]))
---@param startIndex System.Int32
---@param length System.Int32
---@return (System.Char-arr)|(System.Char[])
_G['System']['String'].ToCharArray = function(startIndex, length) end
---`Constructor Public Instance`
---@overload fun(value:(System.Char-arr)|(System.Char[])):System.String
---@overload fun(value:(System.Char-arr)|(System.Char[]), startIndex:System.Int32, length:System.Int32):System.String
---@overload fun(value:System.Char-ptr):System.String
---@overload fun(value:System.Char-ptr, startIndex:System.Int32, length:System.Int32):System.String
---@overload fun(value:System.SByte-ptr):System.String
---@overload fun(value:System.SByte-ptr, startIndex:System.Int32, length:System.Int32):System.String
---@overload fun(value:System.SByte-ptr, startIndex:System.Int32, length:System.Int32, enc:System.Text.Encoding):System.String
---@overload fun(c:System.Char, count:System.Int32):System.String
---@param value System.ReadOnlySpan*1System*Char
---@return System.String
_G['System']['String'] = function(value) end
---`Constructor Public Instance`
---@overload fun(value:(System.Char-arr)|(System.Char[])):System.String
---@overload fun(value:(System.Char-arr)|(System.Char[]), startIndex:System.Int32, length:System.Int32):System.String
---@overload fun(value:System.Char-ptr):System.String
---@overload fun(value:System.Char-ptr, startIndex:System.Int32, length:System.Int32):System.String
---@overload fun(value:System.SByte-ptr):System.String
---@overload fun(value:System.SByte-ptr, startIndex:System.Int32, length:System.Int32):System.String
---@overload fun(value:System.SByte-ptr, startIndex:System.Int32, length:System.Int32, enc:System.Text.Encoding):System.String
---@overload fun(c:System.Char, count:System.Int32):System.String
---@param value System.ReadOnlySpan*1System*Char
---@return System.String
_G['System']['String'].__new = function(value) end

View File

@@ -0,0 +1,206 @@
---@meta
---@class System.Exception : System.Object
---`Field Private Instance`
---@field _exceptionMethod System.Reflection.MethodBase
---`Field NonPublic Instance`
---@field _message System.String
---`Field Private Instance`
---@field _data System.Collections.IDictionary
---`Field Private Instance`
---@field _innerException System.Exception
---`Field Private Instance`
---@field _helpURL System.String
---`Field Private Instance`
---@field _stackTrace (System.Byte-arr)|(System.Byte[])
---`Field Private Instance`
---@field _watsonBuckets (System.Byte-arr)|(System.Byte[])
---`Field Private Instance`
---@field _stackTraceString System.String
---`Field Private Instance`
---@field _remoteStackTraceString System.String
---`Field Private Instance`
---@field _dynamicMethods (System.Object-arr)|(System.Object[])
---`Field Private Instance`
---@field _source System.String
---`Field Private Instance`
---@field _ipForWatsonBuckets System.UIntPtr
---`Field Private Instance`
---@field _xptrs System.IntPtr
---`Field Private Instance`
---@field _xcode System.Int32
---`Field Private Instance`
---@field _HResult System.Int32
---`Field Private Static`
---@field _COMPlusExceptionCode System.Int32
---`Field NonPublic Static`
---@field InnerExceptionPrefix System.String
---`Getter Public Instance`
---@field TargetSite System.Reflection.MethodBase
---`Getter Private Instance`
---@field HasBeenThrown System.Boolean
---`Getter Private Instance`
---@field SerializationWatsonBuckets System.Object
---`Getter Public Instance Virtual`
---@field Message System.String
---`Getter Public Instance Virtual`
---@field Data System.Collections.IDictionary
---`Getter Public Instance`
---@field InnerException System.Exception
---`Getter Public Instance Virtual`
---<br/>`Setter Public Instance Virtual`
---@field HelpLink System.String
---`Getter Public Instance Virtual`
---<br/>`Setter Public Instance Virtual`
---@field Source System.String
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field HResult System.Int32
---`Getter Public Instance Virtual`
---@field StackTrace System.String
---`Getter Private Instance`
---@field SerializationStackTraceString System.String
_G['System']['Exception'] = {}
---`Method Private Instance`
---@return System.Collections.IDictionary
_G['System']['Exception'].CreateDataContainer = function() end
---`Method Private Static`
---@param e System.Exception
---@return System.Boolean
_G['System']['Exception'].IsImmutableAgileException = function(e) end
---`Method Private Static`
---@param stackTrace System.Object
---@return System.IRuntimeMethodInfo
_G['System']['Exception'].GetMethodFromStackTrace = function(stackTrace) end
---`Method Private Instance`
---@return System.Reflection.MethodBase
_G['System']['Exception'].GetExceptionMethodFromStackTrace = function() end
---`Method Private Instance`
---@return System.String
_G['System']['Exception'].CreateSourceName = function() end
---`Method Private Instance`
---@param context System.Runtime.Serialization.StreamingContext
_G['System']['Exception'].OnDeserialized = function(context) end
---`Method NonPublic Instance`
_G['System']['Exception'].InternalPreserveStackTrace = function() end
---`Method Private Static`
_G['System']['Exception'].PrepareForForeignExceptionRaise = function() end
---`Method Private Static`
---@param exception System.Exception
---@param currentStackTrace System.Byte-arr-ref
---@param dynamicMethodArray System.Object-arr-ref
_G['System']['Exception'].GetStackTracesDeepCopy = function(exception, currentStackTrace, dynamicMethodArray) end
---`Method NonPublic Static`
---@param exception System.Exception
---@param currentStackTrace (System.Byte-arr)|(System.Byte[])
---@param dynamicMethodArray (System.Object-arr)|(System.Object[])
_G['System']['Exception'].SaveStackTracesFromDeepCopy = function(exception, currentStackTrace, dynamicMethodArray) end
---`Method NonPublic Static`
---@return System.UInt32
_G['System']['Exception'].GetExceptionCount = function() end
---`Method NonPublic Instance`
---@param dispatchState System.DispatchState-ref
_G['System']['Exception'].RestoreDispatchState = function(dispatchState) end
---`Method NonPublic Static`
---@param kind System.Exception.ExceptionMessageKind
---@return System.String
_G['System']['Exception'].GetMessageFromNativeResources = function(kind) end
---`Method Private Static`
---@param kind System.Exception.ExceptionMessageKind
---@param retMesg System.Runtime.CompilerServices.StringHandleOnStack
_G['System']['Exception'].GetMessageFromNativeResources = function(kind, retMesg) end
---`Method NonPublic Instance`
---@return System.Exception.DispatchState
_G['System']['Exception'].CaptureDispatchState = function() end
---`Method Private Instance`
---@return System.Boolean
_G['System']['Exception'].CanSetRemoteStackTrace = function() end
---`Method Private Instance`
---@return System.String
_G['System']['Exception'].GetClassName = function() end
---`Method Public Instance Virtual`
---@return System.Exception
_G['System']['Exception'].GetBaseException = function() end
---`Method Public Instance Virtual`
---@param info System.Runtime.Serialization.SerializationInfo
---@param context System.Runtime.Serialization.StreamingContext
_G['System']['Exception'].GetObjectData = function(info, context) end
---`Method Public Instance Virtual`
---@return System.String
_G['System']['Exception'].ToString = function() end
---`Method Public Instance`
---@return System.Type
_G['System']['Exception'].GetType = function() end
---`Method Private Instance`
---@param info System.Runtime.Serialization.SerializationInfo
---@param context System.Runtime.Serialization.StreamingContext
_G['System']['Exception'].RestoreRemoteStackTrace = function(info, context) end
---`Method Private Instance`
---@return System.String
_G['System']['Exception'].GetStackTrace = function() end
---`Method NonPublic Instance`
_G['System']['Exception'].SetCurrentStackTrace = function() end
---`Method NonPublic Instance`
---@param stackTrace System.String
_G['System']['Exception'].SetRemoteStackTrace = function(stackTrace) end
---`Constructor Public Instance`
---@overload fun():System.Exception
---@overload fun(message:System.String):System.Exception
---@overload fun(message:System.String, innerException:System.Exception):System.Exception
---@param info System.Runtime.Serialization.SerializationInfo
---@param context System.Runtime.Serialization.StreamingContext
---@return System.Exception
_G['System']['Exception'] = function(info, context) end
---`Constructor Public Instance`
---@overload fun():System.Exception
---@overload fun(message:System.String):System.Exception
---@overload fun(message:System.String, innerException:System.Exception):System.Exception
---@param info System.Runtime.Serialization.SerializationInfo
---@param context System.Runtime.Serialization.StreamingContext
---@return System.Exception
_G['System']['Exception'].__new = function(info, context) end
---`Constructor NonPublic Instance`
---@overload fun():System.Exception
---@overload fun(message:System.String):System.Exception
---@overload fun(message:System.String, innerException:System.Exception):System.Exception
---@param info System.Runtime.Serialization.SerializationInfo
---@param context System.Runtime.Serialization.StreamingContext
---@return System.Exception
_G['System']['Exception'] = function(info, context) end
---`Constructor NonPublic Instance`
---@overload fun():System.Exception
---@overload fun(message:System.String):System.Exception
---@overload fun(message:System.String, innerException:System.Exception):System.Exception
---@param info System.Runtime.Serialization.SerializationInfo
---@param context System.Runtime.Serialization.StreamingContext
---@return System.Exception
_G['System']['Exception'].__new = function(info, context) end

View File

@@ -0,0 +1,279 @@
---@meta
---@class System.TimeSpan : System.ValueType
---@operator unm:System.TimeSpan
---@operator sub(System.TimeSpan):System.TimeSpan
---@operator add(System.TimeSpan):System.TimeSpan
---@operator mul(System.Double):System.TimeSpan
---@operator div(System.Double):System.TimeSpan
---@operator div(System.TimeSpan):System.Double
---`Field NonPublic Instance`
---@field _ticks System.Int64
---`Field Public Static`
---@field Zero System.TimeSpan
---`Field Public Static`
---@field MaxValue System.TimeSpan
---`Field Public Static`
---@field MinValue System.TimeSpan
---`Field Public Static`
---@field TicksPerMillisecond System.Int64
---`Field Public Static`
---@field TicksPerSecond System.Int64
---`Field Public Static`
---@field TicksPerMinute System.Int64
---`Field Public Static`
---@field TicksPerHour System.Int64
---`Field Public Static`
---@field TicksPerDay System.Int64
---`Getter Public Instance`
---@field Ticks System.Int64
---`Getter Public Instance`
---@field Days System.Int32
---`Getter Public Instance`
---@field Hours System.Int32
---`Getter Public Instance`
---@field Milliseconds System.Int32
---`Getter Public Instance`
---@field Minutes System.Int32
---`Getter Public Instance`
---@field Seconds System.Int32
---`Getter Public Instance`
---@field TotalDays System.Double
---`Getter Public Instance`
---@field TotalHours System.Double
---`Getter Public Instance`
---@field TotalMilliseconds System.Double
---`Getter Public Instance`
---@field TotalMinutes System.Double
---`Getter Public Instance`
---@field TotalSeconds System.Double
_G['TimeSpan'] = {}
---`Method Public Instance`
---@param ts System.TimeSpan
---@return System.TimeSpan
_G['TimeSpan'].Add = function(ts) end
---`Method Public Static`
---@param t1 System.TimeSpan
---@param t2 System.TimeSpan
---@return System.Int32
_G['TimeSpan'].Compare = function(t1, t2) end
---`Method Public Instance Virtual`
---@overload fun(value:System.Object):(System.Int32)
---@param value System.TimeSpan
---@return System.Int32
_G['TimeSpan'].CompareTo = function(value) end
---`Method Public Static`
---@param value System.Double
---@return System.TimeSpan
_G['TimeSpan'].FromDays = function(value) end
---`Method Public Instance`
---@return System.TimeSpan
_G['TimeSpan'].Duration = function() end
---`Method Public Instance Virtual`
---@overload fun(value:System.Object):(System.Boolean)
---@param obj System.TimeSpan
---@return System.Boolean
_G['TimeSpan'].Equals = function(obj) end
---`Method Public Static`
---@param t1 System.TimeSpan
---@param t2 System.TimeSpan
---@return System.Boolean
_G['TimeSpan'].Equals = function(t1, t2) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['TimeSpan'].GetHashCode = function() end
---`Method Public Static`
---@param value System.Double
---@return System.TimeSpan
_G['TimeSpan'].FromHours = function(value) end
---`Method Private Static`
---@param value System.Double
---@param scale System.Double
---@return System.TimeSpan
_G['TimeSpan'].Interval = function(value, scale) end
---`Method Private Static`
---@param ticks System.Double
---@return System.TimeSpan
_G['TimeSpan'].IntervalFromDoubleTicks = function(ticks) end
---`Method Public Static`
---@param value System.Double
---@return System.TimeSpan
_G['TimeSpan'].FromMilliseconds = function(value) end
---`Method Public Static`
---@param value System.Double
---@return System.TimeSpan
_G['TimeSpan'].FromMinutes = function(value) end
---`Method Public Instance`
---@return System.TimeSpan
_G['TimeSpan'].Negate = function() end
---`Method Public Static`
---@param value System.Double
---@return System.TimeSpan
_G['TimeSpan'].FromSeconds = function(value) end
---`Method Public Instance`
---@param ts System.TimeSpan
---@return System.TimeSpan
_G['TimeSpan'].Subtract = function(ts) end
---`Method Public Instance`
---@param factor System.Double
---@return System.TimeSpan
_G['TimeSpan'].Multiply = function(factor) end
---`Method Public Instance`
---@overload fun(divisor:System.Double):(System.TimeSpan)
---@param ts System.TimeSpan
---@return System.Double
_G['TimeSpan'].Divide = function(ts) end
---`Method Public Static`
---@param value System.Int64
---@return System.TimeSpan
_G['TimeSpan'].FromTicks = function(value) end
---`Method NonPublic Static`
---@param hour System.Int32
---@param minute System.Int32
---@param second System.Int32
---@return System.Int64
_G['TimeSpan'].TimeToTicks = function(hour, minute, second) end
---`Method Private Static`
---@param style System.Globalization.TimeSpanStyles
---@param parameterName System.String
_G['TimeSpan'].ValidateStyles = function(style, parameterName) end
---`Method Public Static`
---@overload fun(s:System.String):(System.TimeSpan)
---@overload fun(input:System.String, formatProvider:System.IFormatProvider):(System.TimeSpan)
---@param input System.ReadOnlySpan*1System*Char
---@param formatProvider? System.IFormatProvider
---@return System.TimeSpan
_G['TimeSpan'].Parse = function(input, formatProvider) end
---`Method Public Static`
---@overload fun(input:System.String, format:System.String, formatProvider:System.IFormatProvider):(System.TimeSpan)
---@overload fun(input:System.String, formats:(System.String-arr)|(System.String[]), formatProvider:System.IFormatProvider):(System.TimeSpan)
---@overload fun(input:System.String, format:System.String, formatProvider:System.IFormatProvider, styles:System.Globalization.TimeSpanStyles):(System.TimeSpan)
---@overload fun(input:System.ReadOnlySpan*1System*Char, format:System.ReadOnlySpan*1System*Char, formatProvider:System.IFormatProvider, styles?:System.Globalization.TimeSpanStyles):(System.TimeSpan)
---@overload fun(input:System.String, formats:(System.String-arr)|(System.String[]), formatProvider:System.IFormatProvider, styles:System.Globalization.TimeSpanStyles):(System.TimeSpan)
---@param input System.ReadOnlySpan*1System*Char
---@param formats (System.String-arr)|(System.String[])
---@param formatProvider System.IFormatProvider
---@param styles? System.Globalization.TimeSpanStyles
---@return System.TimeSpan
_G['TimeSpan'].ParseExact = function(input, formats, formatProvider, styles) end
---`Method Public Static`
---@overload fun(s:System.String, result:System.TimeSpan-ref):(System.Boolean)
---@overload fun(s:System.ReadOnlySpan*1System*Char, result:System.TimeSpan-ref):(System.Boolean)
---@overload fun(input:System.String, formatProvider:System.IFormatProvider, result:System.TimeSpan-ref):(System.Boolean)
---@param input System.ReadOnlySpan*1System*Char
---@param formatProvider System.IFormatProvider
---@param result System.TimeSpan-ref
---@return System.Boolean
_G['TimeSpan'].TryParse = function(input, formatProvider, result) end
---`Method Public Static`
---@overload fun(input:System.String, format:System.String, formatProvider:System.IFormatProvider, result:System.TimeSpan-ref):(System.Boolean)
---@overload fun(input:System.ReadOnlySpan*1System*Char, format:System.ReadOnlySpan*1System*Char, formatProvider:System.IFormatProvider, result:System.TimeSpan-ref):(System.Boolean)
---@overload fun(input:System.String, formats:(System.String-arr)|(System.String[]), formatProvider:System.IFormatProvider, result:System.TimeSpan-ref):(System.Boolean)
---@overload fun(input:System.ReadOnlySpan*1System*Char, formats:(System.String-arr)|(System.String[]), formatProvider:System.IFormatProvider, result:System.TimeSpan-ref):(System.Boolean)
---@overload fun(input:System.String, format:System.String, formatProvider:System.IFormatProvider, styles:System.Globalization.TimeSpanStyles, result:System.TimeSpan-ref):(System.Boolean)
---@overload fun(input:System.ReadOnlySpan*1System*Char, format:System.ReadOnlySpan*1System*Char, formatProvider:System.IFormatProvider, styles:System.Globalization.TimeSpanStyles, result:System.TimeSpan-ref):(System.Boolean)
---@overload fun(input:System.String, formats:(System.String-arr)|(System.String[]), formatProvider:System.IFormatProvider, styles:System.Globalization.TimeSpanStyles, result:System.TimeSpan-ref):(System.Boolean)
---@param input System.ReadOnlySpan*1System*Char
---@param formats (System.String-arr)|(System.String[])
---@param formatProvider System.IFormatProvider
---@param styles System.Globalization.TimeSpanStyles
---@param result System.TimeSpan-ref
---@return System.Boolean
_G['TimeSpan'].TryParseExact = function(input, formats, formatProvider, styles, result) end
---`Method Public Instance Virtual`
---@overload fun():(System.String)
---@param format System.String
---@param formatProvider System.IFormatProvider
---@return System.String
_G['TimeSpan'].ToString = function(format, formatProvider) end
---`Method Public Instance`
---@param format System.String
---@return System.String
_G['TimeSpan'].ToString = function(format) end
---`Method Public Instance Virtual`
---@param destination System.Span*1System*Char
---@param charsWritten System.Int32-ref
---@param format? System.ReadOnlySpan*1System*Char
---@param formatProvider? System.IFormatProvider
---@return System.Boolean
_G['TimeSpan'].TryFormat = function(destination, charsWritten, format, formatProvider) end
---`Constructor Private Static`
---@overload fun():System.TimeSpan
---@overload fun(ticks:System.Int64):System.TimeSpan
---@overload fun(hours:System.Int32, minutes:System.Int32, seconds:System.Int32):System.TimeSpan
---@overload fun(days:System.Int32, hours:System.Int32, minutes:System.Int32, seconds:System.Int32):System.TimeSpan
---@param days System.Int32
---@param hours System.Int32
---@param minutes System.Int32
---@param seconds System.Int32
---@param milliseconds System.Int32
---@return System.TimeSpan
_G['TimeSpan'] = function(days, hours, minutes, seconds, milliseconds) end
---`Constructor Private Static`
---@overload fun():System.TimeSpan
---@overload fun(ticks:System.Int64):System.TimeSpan
---@overload fun(hours:System.Int32, minutes:System.Int32, seconds:System.Int32):System.TimeSpan
---@overload fun(days:System.Int32, hours:System.Int32, minutes:System.Int32, seconds:System.Int32):System.TimeSpan
---@param days System.Int32
---@param hours System.Int32
---@param minutes System.Int32
---@param seconds System.Int32
---@param milliseconds System.Int32
---@return System.TimeSpan
_G['TimeSpan'].__new = function(days, hours, minutes, seconds, milliseconds) end
---`Constructor Public Instance`
---@overload fun():System.TimeSpan
---@overload fun(ticks:System.Int64):System.TimeSpan
---@overload fun(hours:System.Int32, minutes:System.Int32, seconds:System.Int32):System.TimeSpan
---@overload fun(days:System.Int32, hours:System.Int32, minutes:System.Int32, seconds:System.Int32):System.TimeSpan
---@param days System.Int32
---@param hours System.Int32
---@param minutes System.Int32
---@param seconds System.Int32
---@param milliseconds System.Int32
---@return System.TimeSpan
_G['TimeSpan'] = function(days, hours, minutes, seconds, milliseconds) end
---`Constructor Public Instance`
---@overload fun():System.TimeSpan
---@overload fun(ticks:System.Int64):System.TimeSpan
---@overload fun(hours:System.Int32, minutes:System.Int32, seconds:System.Int32):System.TimeSpan
---@overload fun(days:System.Int32, hours:System.Int32, minutes:System.Int32, seconds:System.Int32):System.TimeSpan
---@param days System.Int32
---@param hours System.Int32
---@param minutes System.Int32
---@param seconds System.Int32
---@param milliseconds System.Int32
---@return System.TimeSpan
_G['TimeSpan'].__new = function(days, hours, minutes, seconds, milliseconds) end

View File

@@ -0,0 +1,258 @@
---@meta
---@class System.Console : System.Object
---`Field Private Static`
---@field s_syncObject System.Object
---`Field Private Static`
---@field s_in System.IO.TextReader
---`Field Private Static`
---@field s_out System.IO.TextWriter
---`Field Private Static`
---@field s_error System.IO.TextWriter
---`Field Private Static`
---@field s_inputEncoding System.Text.Encoding
---`Field Private Static`
---@field s_outputEncoding System.Text.Encoding
---`Field Private Static`
---@field s_isOutTextWriterRedirected System.Boolean
---`Field Private Static`
---@field s_isErrorTextWriterRedirected System.Boolean
---`Field Private Static`
---@field s_cancelCallbacks (System.ConsoleCancelEventHandler)|(fun(sender:System.Object, e:System.ConsoleCancelEventArgs))
---`Field Private Static`
---@field s_sigIntRegistration System.Runtime.InteropServices.PosixSignalRegistration
---`Field Private Static`
---@field s_sigQuitRegistration System.Runtime.InteropServices.PosixSignalRegistration
---`Field Private Static`
---@field _isStdInRedirected System.Runtime.CompilerServices.StrongBox*1System*Boolean
---`Field Private Static`
---@field _isStdOutRedirected System.Runtime.CompilerServices.StrongBox*1System*Boolean
---`Field Private Static`
---@field _isStdErrRedirected System.Runtime.CompilerServices.StrongBox*1System*Boolean
---`Getter Public Static`
---@field In System.IO.TextReader
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field InputEncoding System.Text.Encoding
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field OutputEncoding System.Text.Encoding
---`Getter Public Static`
---@field KeyAvailable System.Boolean
---`Getter Public Static`
---@field Out System.IO.TextWriter
---`Getter Public Static`
---@field Error System.IO.TextWriter
---`Getter Public Static`
---@field IsInputRedirected System.Boolean
---`Getter Public Static`
---@field IsOutputRedirected System.Boolean
---`Getter Public Static`
---@field IsErrorRedirected System.Boolean
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field CursorSize System.Int32
---`Getter Public Static`
---@field NumberLock System.Boolean
---`Getter Public Static`
---@field CapsLock System.Boolean
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field BackgroundColor System.ConsoleColor
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field ForegroundColor System.ConsoleColor
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field BufferWidth System.Int32
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field BufferHeight System.Int32
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field WindowLeft System.Int32
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field WindowTop System.Int32
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field WindowWidth System.Int32
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field WindowHeight System.Int32
---`Getter Public Static`
---@field LargestWindowWidth System.Int32
---`Getter Public Static`
---@field LargestWindowHeight System.Int32
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field CursorVisible System.Boolean
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field CursorLeft System.Int32
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field CursorTop System.Int32
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field Title System.String
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field TreatControlCAsInput System.Boolean
_G['System']['Console'] = {}
---`Method Public Static`
---@overload fun(format:System.String, arg0:System.Object)
---@overload fun(format:System.String, arg0:System.Object, arg1:System.Object)
---@overload fun(format:System.String, arg0:System.Object, arg1:System.Object, arg2:System.Object)
---@overload fun(format:System.String, ...:System.Object)
---@overload fun()
---@overload fun(value:System.Boolean)
---@overload fun(value:System.Char)
---@overload fun(buffer:(System.Char-arr)|(System.Char[]))
---@overload fun(buffer:(System.Char-arr)|(System.Char[]), index:System.Int32, count:System.Int32)
---@overload fun(value:System.Decimal)
---@overload fun(value:System.Double)
---@overload fun(value:System.Single)
---@overload fun(value:System.Int32)
---@overload fun(value:System.UInt32)
---@overload fun(value:System.Int64)
---@overload fun(value:System.UInt64)
---@overload fun(value:System.Object)
---@param value System.String
_G['System']['Console'].WriteLine = function(value) end
---`Method Public Static`
---@overload fun(format:System.String, arg0:System.Object)
---@overload fun(format:System.String, arg0:System.Object, arg1:System.Object)
---@overload fun(format:System.String, arg0:System.Object, arg1:System.Object, arg2:System.Object)
---@overload fun(format:System.String, ...:System.Object)
---@overload fun(value:System.Boolean)
---@overload fun(value:System.Char)
---@overload fun(buffer:(System.Char-arr)|(System.Char[]))
---@overload fun(buffer:(System.Char-arr)|(System.Char[]), index:System.Int32, count:System.Int32)
---@overload fun(value:System.Double)
---@overload fun(value:System.Decimal)
---@overload fun(value:System.Single)
---@overload fun(value:System.Int32)
---@overload fun(value:System.UInt32)
---@overload fun(value:System.Int64)
---@overload fun(value:System.UInt64)
---@overload fun(value:System.Object)
---@param value System.String
_G['System']['Console'].Write = function(value) end
---`Method Private Static`
---@param ctx System.Runtime.InteropServices.PosixSignalContext
_G['System']['Console'].HandlePosixSignal = function(ctx) end
---`Method Public Static`
---@overload fun():(System.ConsoleKeyInfo)
---@param intercept System.Boolean
---@return System.ConsoleKeyInfo
_G['System']['Console'].ReadKey = function(intercept) end
---`Method Private Static`
---@param outputStream System.IO.Stream
---@return System.IO.TextWriter
_G['System']['Console'].CreateOutputWriter = function(outputStream) end
---`Method Public Static`
_G['System']['Console'].ResetColor = function() end
---`Method Public Static`
---@param width System.Int32
---@param height System.Int32
_G['System']['Console'].SetBufferSize = function(width, height) end
---`Method Public Static`
---@param left System.Int32
---@param top System.Int32
_G['System']['Console'].SetWindowPosition = function(left, top) end
---`Method Public Static`
---@param width System.Int32
---@param height System.Int32
_G['System']['Console'].SetWindowSize = function(width, height) end
---`Method Public Static`
---@return System.ValueTuple*1System*Int32*1System*Int32
_G['System']['Console'].GetCursorPosition = function() end
---`Method Public Static`
---@overload fun()
---@param frequency System.Int32
---@param duration System.Int32
_G['System']['Console'].Beep = function(frequency, duration) end
---`Method Public Static`
---@overload fun(sourceLeft:System.Int32, sourceTop:System.Int32, sourceWidth:System.Int32, sourceHeight:System.Int32, targetLeft:System.Int32, targetTop:System.Int32)
---@param sourceLeft System.Int32
---@param sourceTop System.Int32
---@param sourceWidth System.Int32
---@param sourceHeight System.Int32
---@param targetLeft System.Int32
---@param targetTop System.Int32
---@param sourceChar System.Char
---@param sourceForeColor System.ConsoleColor
---@param sourceBackColor System.ConsoleColor
_G['System']['Console'].MoveBufferArea = function(sourceLeft, sourceTop, sourceWidth, sourceHeight, targetLeft, targetTop, sourceChar, sourceForeColor, sourceBackColor) end
---`Method Public Static`
_G['System']['Console'].Clear = function() end
---`Method Public Static`
---@param left System.Int32
---@param top System.Int32
_G['System']['Console'].SetCursorPosition = function(left, top) end
---`Method Public Static`
---@overload fun():(System.IO.Stream)
---@param bufferSize System.Int32
---@return System.IO.Stream
_G['System']['Console'].OpenStandardInput = function(bufferSize) end
---`Method Public Static`
---@overload fun():(System.IO.Stream)
---@param bufferSize System.Int32
---@return System.IO.Stream
_G['System']['Console'].OpenStandardOutput = function(bufferSize) end
---`Method Public Static`
---@overload fun():(System.IO.Stream)
---@param bufferSize System.Int32
---@return System.IO.Stream
_G['System']['Console'].OpenStandardError = function(bufferSize) end
---`Method Public Static`
---@param newIn System.IO.TextReader
_G['System']['Console'].SetIn = function(newIn) end
---`Method Public Static`
---@param newOut System.IO.TextWriter
_G['System']['Console'].SetOut = function(newOut) end
---`Method Public Static`
---@param newError System.IO.TextWriter
_G['System']['Console'].SetError = function(newError) end
---`Method Private Static`
---@param obj System.Object
---@param paramName System.String
_G['System']['Console'].CheckNonNull = function(obj, paramName) end
---`Method Public Static`
---@return System.Int32
_G['System']['Console'].Read = function() end
---`Method Public Static`
---@return System.String
_G['System']['Console'].ReadLine = function() end
---`Constructor Private Static`
---@return System.Console
_G['System']['Console'] = function() end
---`Constructor Private Static`
---@return System.Console
_G['System']['Console'].__new = function() end

View File

@@ -0,0 +1,348 @@
---@meta
---@class System.Math : System.Object
---`Field Private Static`
---@field roundPower10Double (System.Double-arr)|(System.Double[])
---`Field Public Static`
---@field E System.Double
---`Field Public Static`
---@field PI System.Double
---`Field Public Static`
---@field Tau System.Double
_G['System']['Math'] = {}
---`Method Public Static`
---@overload fun(val1:System.Byte, val2:System.Byte):(System.Byte)
---@overload fun(val1:System.Decimal, val2:System.Decimal):(System.Decimal)
---@overload fun(val1:System.Double, val2:System.Double):(System.Double)
---@overload fun(val1:System.Int16, val2:System.Int16):(System.Int16)
---@overload fun(val1:System.Int32, val2:System.Int32):(System.Int32)
---@overload fun(val1:System.Int64, val2:System.Int64):(System.Int64)
---@overload fun(val1:System.IntPtr, val2:System.IntPtr):(System.IntPtr)
---@overload fun(val1:System.SByte, val2:System.SByte):(System.SByte)
---@overload fun(val1:System.Single, val2:System.Single):(System.Single)
---@overload fun(val1:System.UInt16, val2:System.UInt16):(System.UInt16)
---@overload fun(val1:System.UInt32, val2:System.UInt32):(System.UInt32)
---@overload fun(val1:System.UInt64, val2:System.UInt64):(System.UInt64)
---@param val1 System.UIntPtr
---@param val2 System.UIntPtr
---@return System.UIntPtr
_G['System']['Math'].Min = function(val1, val2) end
---`Method Public Static`
---@param x System.Double
---@param y System.Double
---@return System.Double
_G['System']['Math'].MinMagnitude = function(x, y) end
---`Method Public Static`
---@param d System.Double
---@return System.Double
_G['System']['Math'].ReciprocalEstimate = function(d) end
---`Method Public Static`
---@param d System.Double
---@return System.Double
_G['System']['Math'].ReciprocalSqrtEstimate = function(d) end
---`Method Public Static`
---@overload fun(d:System.Decimal):(System.Decimal)
---@overload fun(d:System.Decimal, decimals:System.Int32):(System.Decimal)
---@overload fun(d:System.Decimal, mode:System.MidpointRounding):(System.Decimal)
---@overload fun(d:System.Decimal, decimals:System.Int32, mode:System.MidpointRounding):(System.Decimal)
---@overload fun(a:System.Double):(System.Double)
---@overload fun(value:System.Double, digits:System.Int32):(System.Double)
---@overload fun(value:System.Double, mode:System.MidpointRounding):(System.Double)
---@param value System.Double
---@param digits System.Int32
---@param mode System.MidpointRounding
---@return System.Double
_G['System']['Math'].Round = function(value, digits, mode) end
---`Method Public Static`
---@overload fun(value:System.Decimal):(System.Int32)
---@overload fun(value:System.Double):(System.Int32)
---@overload fun(value:System.Int16):(System.Int32)
---@overload fun(value:System.Int32):(System.Int32)
---@overload fun(value:System.Int64):(System.Int32)
---@overload fun(value:System.IntPtr):(System.Int32)
---@overload fun(value:System.SByte):(System.Int32)
---@param value System.Single
---@return System.Int32
_G['System']['Math'].Sign = function(value) end
---`Method Public Static`
---@overload fun(d:System.Decimal):(System.Decimal)
---@param d System.Double
---@return System.Double
_G['System']['Math'].Truncate = function(d) end
---`Method Private Static`
---@param min System.Math.T
---@param max System.Math.T
_G['System']['Math'].ThrowMinMaxException = function(min, max) end
---`Method Public Static`
---@param x System.Double
---@param n System.Int32
---@return System.Double
_G['System']['Math'].ScaleB = function(x, n) end
---`Method Public Static`
---@overload fun(value:System.Double):(System.Double)
---@overload fun(value:System.Single):(System.Single)
---@overload fun(value:System.Int16):(System.Int16)
---@overload fun(value:System.Int32):(System.Int32)
---@overload fun(value:System.Int64):(System.Int64)
---@overload fun(value:System.IntPtr):(System.IntPtr)
---@overload fun(value:System.SByte):(System.SByte)
---@param value System.Decimal
---@return System.Decimal
_G['System']['Math'].Abs = function(value) end
---`Method Public Static`
---@param d System.Double
---@return System.Double
_G['System']['Math'].Acos = function(d) end
---`Method Public Static`
---@param d System.Double
---@return System.Double
_G['System']['Math'].Acosh = function(d) end
---`Method Public Static`
---@param d System.Double
---@return System.Double
_G['System']['Math'].Asin = function(d) end
---`Method Public Static`
---@param d System.Double
---@return System.Double
_G['System']['Math'].Asinh = function(d) end
---`Method Public Static`
---@param d System.Double
---@return System.Double
_G['System']['Math'].Atan = function(d) end
---`Method Public Static`
---@param d System.Double
---@return System.Double
_G['System']['Math'].Atanh = function(d) end
---`Method Public Static`
---@param y System.Double
---@param x System.Double
---@return System.Double
_G['System']['Math'].Atan2 = function(y, x) end
---`Method Public Static`
---@param d System.Double
---@return System.Double
_G['System']['Math'].Cbrt = function(d) end
---`Method Public Static`
---@overload fun(a:System.Double):(System.Double)
---@param d System.Decimal
---@return System.Decimal
_G['System']['Math'].Ceiling = function(d) end
---`Method Public Static`
---@param d System.Double
---@return System.Double
_G['System']['Math'].Cos = function(d) end
---`Method Public Static`
---@param value System.Double
---@return System.Double
_G['System']['Math'].Cosh = function(value) end
---`Method Public Static`
---@param d System.Double
---@return System.Double
_G['System']['Math'].Exp = function(d) end
---`Method Public Static`
---@overload fun(d:System.Double):(System.Double)
---@param d System.Decimal
---@return System.Decimal
_G['System']['Math'].Floor = function(d) end
---`Method Public Static`
---@param x System.Double
---@param y System.Double
---@param z System.Double
---@return System.Double
_G['System']['Math'].FusedMultiplyAdd = function(x, y, z) end
---`Method Public Static`
---@param x System.Double
---@return System.Int32
_G['System']['Math'].ILogB = function(x) end
---`Method Public Static`
---@overload fun(d:System.Double):(System.Double)
---@param a System.Double
---@param newBase System.Double
---@return System.Double
_G['System']['Math'].Log = function(a, newBase) end
---`Method Public Static`
---@param x System.Double
---@return System.Double
_G['System']['Math'].Log2 = function(x) end
---`Method Public Static`
---@param d System.Double
---@return System.Double
_G['System']['Math'].Log10 = function(d) end
---`Method Public Static`
---@param x System.Double
---@param y System.Double
---@return System.Double
_G['System']['Math'].Pow = function(x, y) end
---`Method Public Static`
---@param a System.Double
---@return System.Double
_G['System']['Math'].Sin = function(a) end
---`Method Public Static`
---@param x System.Double
---@return System.ValueTuple*1System*Double*1System*Double
_G['System']['Math'].SinCos = function(x) end
---`Method Private Static`
---@param x System.Double
---@param sin System.Double-ptr
---@param cos System.Double-ptr
_G['System']['Math'].SinCos = function(x, sin, cos) end
---`Method Public Static`
---@param value System.Double
---@return System.Double
_G['System']['Math'].Sinh = function(value) end
---`Method Public Static`
---@param d System.Double
---@return System.Double
_G['System']['Math'].Sqrt = function(d) end
---`Method Public Static`
---@param a System.Double
---@return System.Double
_G['System']['Math'].Tan = function(a) end
---`Method Public Static`
---@param value System.Double
---@return System.Double
_G['System']['Math'].Tanh = function(value) end
---`Method Private Static`
---@param x System.Double
---@param intptr System.Double-ptr
---@return System.Double
_G['System']['Math'].ModF = function(x, intptr) end
---`Method Private Static`
_G['System']['Math'].ThrowAbsOverflow = function() end
---`Method Public Static`
---@overload fun(a:System.Int32, b:System.Int32):(System.Int64)
---@overload fun(a:System.UInt64, b:System.UInt64, low:System.UInt64-ref):(System.UInt64)
---@param a System.Int64
---@param b System.Int64
---@param low System.Int64-ref
---@return System.Int64
_G['System']['Math'].BigMul = function(a, b, low) end
---`Method Public Static`
---@param x System.Double
---@return System.Double
_G['System']['Math'].BitDecrement = function(x) end
---`Method Public Static`
---@param x System.Double
---@return System.Double
_G['System']['Math'].BitIncrement = function(x) end
---`Method Public Static`
---@param x System.Double
---@param y System.Double
---@return System.Double
_G['System']['Math'].CopySign = function(x, y) end
---`Method Public Static`
---@overload fun(a:System.Int32, b:System.Int32, result:System.Int32-ref):(System.Int32)
---@overload fun(a:System.Int64, b:System.Int64, result:System.Int64-ref):(System.Int64)
---@overload fun(left:System.SByte, right:System.SByte):(System.ValueTuple*1System*SByte*1System*SByte)
---@overload fun(left:System.Byte, right:System.Byte):(System.ValueTuple*1System*Byte*1System*Byte)
---@overload fun(left:System.Int16, right:System.Int16):(System.ValueTuple*1System*Int16*1System*Int16)
---@overload fun(left:System.UInt16, right:System.UInt16):(System.ValueTuple*1System*UInt16*1System*UInt16)
---@overload fun(left:System.Int32, right:System.Int32):(System.ValueTuple*1System*Int32*1System*Int32)
---@overload fun(left:System.UInt32, right:System.UInt32):(System.ValueTuple*1System*UInt32*1System*UInt32)
---@overload fun(left:System.Int64, right:System.Int64):(System.ValueTuple*1System*Int64*1System*Int64)
---@overload fun(left:System.UInt64, right:System.UInt64):(System.ValueTuple*1System*UInt64*1System*UInt64)
---@overload fun(left:System.IntPtr, right:System.IntPtr):(System.ValueTuple*1System*IntPtr*1System*IntPtr)
---@param left System.UIntPtr
---@param right System.UIntPtr
---@return System.ValueTuple*1System*UIntPtr*1System*UIntPtr
_G['System']['Math'].DivRem = function(left, right) end
---`Method Public Static`
---@overload fun(value:System.Byte, min:System.Byte, max:System.Byte):(System.Byte)
---@overload fun(value:System.Decimal, min:System.Decimal, max:System.Decimal):(System.Decimal)
---@overload fun(value:System.Double, min:System.Double, max:System.Double):(System.Double)
---@overload fun(value:System.Int16, min:System.Int16, max:System.Int16):(System.Int16)
---@overload fun(value:System.Int32, min:System.Int32, max:System.Int32):(System.Int32)
---@overload fun(value:System.Int64, min:System.Int64, max:System.Int64):(System.Int64)
---@overload fun(value:System.IntPtr, min:System.IntPtr, max:System.IntPtr):(System.IntPtr)
---@overload fun(value:System.SByte, min:System.SByte, max:System.SByte):(System.SByte)
---@overload fun(value:System.Single, min:System.Single, max:System.Single):(System.Single)
---@overload fun(value:System.UInt16, min:System.UInt16, max:System.UInt16):(System.UInt16)
---@overload fun(value:System.UInt32, min:System.UInt32, max:System.UInt32):(System.UInt32)
---@overload fun(value:System.UInt64, min:System.UInt64, max:System.UInt64):(System.UInt64)
---@param value System.UIntPtr
---@param min System.UIntPtr
---@param max System.UIntPtr
---@return System.UIntPtr
_G['System']['Math'].Clamp = function(value, min, max) end
---`Method Public Static`
---@param x System.Double
---@param y System.Double
---@return System.Double
_G['System']['Math'].IEEERemainder = function(x, y) end
---`Method Public Static`
---@overload fun(val1:System.Byte, val2:System.Byte):(System.Byte)
---@overload fun(val1:System.Decimal, val2:System.Decimal):(System.Decimal)
---@overload fun(val1:System.Double, val2:System.Double):(System.Double)
---@overload fun(val1:System.Int16, val2:System.Int16):(System.Int16)
---@overload fun(val1:System.Int32, val2:System.Int32):(System.Int32)
---@overload fun(val1:System.Int64, val2:System.Int64):(System.Int64)
---@overload fun(val1:System.IntPtr, val2:System.IntPtr):(System.IntPtr)
---@overload fun(val1:System.SByte, val2:System.SByte):(System.SByte)
---@overload fun(val1:System.Single, val2:System.Single):(System.Single)
---@overload fun(val1:System.UInt16, val2:System.UInt16):(System.UInt16)
---@overload fun(val1:System.UInt32, val2:System.UInt32):(System.UInt32)
---@overload fun(val1:System.UInt64, val2:System.UInt64):(System.UInt64)
---@param val1 System.UIntPtr
---@param val2 System.UIntPtr
---@return System.UIntPtr
_G['System']['Math'].Max = function(val1, val2) end
---`Method Public Static`
---@param x System.Double
---@param y System.Double
---@return System.Double
_G['System']['Math'].MaxMagnitude = function(x, y) end
---`Constructor Private Static`
---@return System.Math
_G['System']['Math'] = function() end
---`Constructor Private Static`
---@return System.Math
_G['System']['Math'].__new = function() end

View File

@@ -0,0 +1,91 @@
---@meta
---@class Barotrauma.Media.Video : System.Object
---`Field Private Instance`
---@field videoInternal System.IntPtr
---`Field Private Instance`
---@field texture Microsoft.Xna.Framework.Graphics.Texture2D
---`Field Private Instance`
---@field textureChanged System.Boolean
---`Field Private Instance`
---@field textureData (System.Int32-arr)|(System.Int32[])
---`Field Private Instance`
---@field mutex System.Object
---`Field Private Instance`
---@field sound Barotrauma.Sounds.VideoSound
---`Field Private Static`
---@field VideoFrameCallback (Barotrauma.Media.Video.Internal.EventCallback)|(fun(videoInternal:System.IntPtr, data:System.IntPtr, dataElemSize:System.Int32, dataLen:System.Int32))
---`Field Private Static`
---@field VideoAudioCallback (Barotrauma.Media.Video.Internal.EventCallback)|(fun(videoInternal:System.IntPtr, data:System.IntPtr, dataElemSize:System.Int32, dataLen:System.Int32))
---`Field Private Static`
---@field videos (System.Collections.Generic.Dictionary*1System*IntPtr*1Barotrauma*Media*Video)|({[System.IntPtr]:(Barotrauma.Media.Video)})
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field Width System.Int32
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field Height System.Int32
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field AudioGain System.Single
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field LoadFailed System.Boolean
---`Getter Public Instance`
---@field IsPlaying System.Boolean
_G['Video'] = {}
---`Method Public Static`
_G['Video'].Init = function() end
---`Method Public Static`
_G['Video'].Close = function() end
---`Method Public Static`
---@param graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
---@param soundManager Barotrauma.Sounds.SoundManager
---@param filename System.String
---@return Barotrauma.Media.Video
_G['Video'].Load = function(graphicsDevice, soundManager, filename) end
---`Method Public Instance`
_G['Video'].Play = function() end
---`Method Public Instance Virtual`
_G['Video'].Dispose = function() end
---`Method Public Instance`
---@return Microsoft.Xna.Framework.Graphics.Texture2D
_G['Video'].GetTexture = function() end
---`Method Public Instance`
---@param data System.IntPtr
_G['Video'].SetFrameData = function(data) end
---`Method Private Static`
---@param videoInternal System.IntPtr
---@param data System.IntPtr
---@param dataElemSize System.Int32
---@param dataLen System.Int32
_G['Video'].VideoFrameUpdate = function(videoInternal, data, dataElemSize, dataLen) end
---`Method Private Static`
---@param videoInternal System.IntPtr
---@param data System.IntPtr
---@param dataElemSize System.Int32
---@param dataLen System.Int32
_G['Video'].VideoAudioUpdate = function(videoInternal, data, dataElemSize, dataLen) end
---`Constructor Private Instance`
---@param graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
---@param soundManager Barotrauma.Sounds.SoundManager
---@param filename System.String
---@return Barotrauma.Media.Video
_G['Video'] = function(graphicsDevice, soundManager, filename) end
---`Constructor Private Instance`
---@param graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
---@param soundManager Barotrauma.Sounds.SoundManager
---@param filename System.String
---@return Barotrauma.Media.Video
_G['Video'].__new = function(graphicsDevice, soundManager, filename) end

View File

@@ -0,0 +1,373 @@
---@meta
---@class Microsoft.Xna.Framework.Matrix : System.ValueType, {[System.Int32]:System.Single}
---@operator add(Microsoft.Xna.Framework.Matrix):Microsoft.Xna.Framework.Matrix
---@operator div(Microsoft.Xna.Framework.Matrix):Microsoft.Xna.Framework.Matrix
---@operator div(System.Single):Microsoft.Xna.Framework.Matrix
---@operator mul(Microsoft.Xna.Framework.Matrix):Microsoft.Xna.Framework.Matrix
---@operator mul(System.Single):Microsoft.Xna.Framework.Matrix
---@operator sub(Microsoft.Xna.Framework.Matrix):Microsoft.Xna.Framework.Matrix
---@operator unm:Microsoft.Xna.Framework.Matrix
---`Field Public Instance`
---@field M11 System.Single
---`Field Public Instance`
---@field M12 System.Single
---`Field Public Instance`
---@field M13 System.Single
---`Field Public Instance`
---@field M14 System.Single
---`Field Public Instance`
---@field M21 System.Single
---`Field Public Instance`
---@field M22 System.Single
---`Field Public Instance`
---@field M23 System.Single
---`Field Public Instance`
---@field M24 System.Single
---`Field Public Instance`
---@field M31 System.Single
---`Field Public Instance`
---@field M32 System.Single
---`Field Public Instance`
---@field M33 System.Single
---`Field Public Instance`
---@field M34 System.Single
---`Field Public Instance`
---@field M41 System.Single
---`Field Public Instance`
---@field M42 System.Single
---`Field Public Instance`
---@field M43 System.Single
---`Field Public Instance`
---@field M44 System.Single
---`Field Private Static`
---@field identity Microsoft.Xna.Framework.Matrix
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field Backward Microsoft.Xna.Framework.Vector3
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field Down Microsoft.Xna.Framework.Vector3
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field Forward Microsoft.Xna.Framework.Vector3
---`Getter Public Static`
---@field Identity Microsoft.Xna.Framework.Matrix
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field Left Microsoft.Xna.Framework.Vector3
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field Right Microsoft.Xna.Framework.Vector3
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field Translation Microsoft.Xna.Framework.Vector3
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field Up Microsoft.Xna.Framework.Vector3
---`Getter NonPublic Instance`
---@field DebugDisplayString System.String
_G['Matrix'] = {}
---`Method Public Static`
---@overload fun(matrix1:Microsoft.Xna.Framework.Matrix-ref, matrix2:Microsoft.Xna.Framework.Matrix-ref, result:Microsoft.Xna.Framework.Matrix-ref)
---@overload fun(matrix1:Microsoft.Xna.Framework.Matrix, scaleFactor:System.Single):(Microsoft.Xna.Framework.Matrix)
---@overload fun(matrix1:Microsoft.Xna.Framework.Matrix-ref, scaleFactor:System.Single, result:Microsoft.Xna.Framework.Matrix-ref)
---@param matrix1 Microsoft.Xna.Framework.Matrix
---@param matrix2 Microsoft.Xna.Framework.Matrix
---@return Microsoft.Xna.Framework.Matrix
_G['Matrix'].Multiply = function(matrix1, matrix2) end
---`Method Public Static`
---@param matrix Microsoft.Xna.Framework.Matrix
---@return (System.Single-arr)|(System.Single[])
_G['Matrix'].ToFloatArray = function(matrix) end
---`Method Public Static`
---@overload fun(matrix:Microsoft.Xna.Framework.Matrix):(Microsoft.Xna.Framework.Matrix)
---@param matrix Microsoft.Xna.Framework.Matrix-ref
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].Negate = function(matrix, result) end
---`Method Public Static`
---@overload fun(matrix1:Microsoft.Xna.Framework.Matrix, matrix2:Microsoft.Xna.Framework.Matrix):(Microsoft.Xna.Framework.Matrix)
---@param matrix1 Microsoft.Xna.Framework.Matrix-ref
---@param matrix2 Microsoft.Xna.Framework.Matrix-ref
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].Subtract = function(matrix1, matrix2, result) end
---`Method Public Instance Virtual`
---@return System.String
_G['Matrix'].ToString = function() end
---`Method Public Static`
---@overload fun(matrix:Microsoft.Xna.Framework.Matrix):(Microsoft.Xna.Framework.Matrix)
---@param matrix Microsoft.Xna.Framework.Matrix-ref
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].Transpose = function(matrix, result) end
---`Method Private Static`
---@param matrix Microsoft.Xna.Framework.Matrix-ref
---@param major System.Single-ref
---@param minor1 System.Single-ref
---@param minor2 System.Single-ref
---@param minor3 System.Single-ref
---@param minor4 System.Single-ref
---@param minor5 System.Single-ref
---@param minor6 System.Single-ref
---@param minor7 System.Single-ref
---@param minor8 System.Single-ref
---@param minor9 System.Single-ref
---@param minor10 System.Single-ref
---@param minor11 System.Single-ref
---@param minor12 System.Single-ref
_G['Matrix'].FindDeterminants = function(matrix, major, minor1, minor2, minor3, minor4, minor5, minor6, minor7, minor8, minor9, minor10, minor11, minor12) end
---`Method Public Static`
---@overload fun(matrix1:Microsoft.Xna.Framework.Matrix, matrix2:Microsoft.Xna.Framework.Matrix):(Microsoft.Xna.Framework.Matrix)
---@param matrix1 Microsoft.Xna.Framework.Matrix-ref
---@param matrix2 Microsoft.Xna.Framework.Matrix-ref
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].Add = function(matrix1, matrix2, result) end
---`Method Public Static`
---@overload fun(objectPosition:Microsoft.Xna.Framework.Vector3, cameraPosition:Microsoft.Xna.Framework.Vector3, cameraUpVector:Microsoft.Xna.Framework.Vector3, cameraForwardVector:System.Nullable*1Microsoft*Xna*Framework*Vector3):(Microsoft.Xna.Framework.Matrix)
---@param objectPosition Microsoft.Xna.Framework.Vector3-ref
---@param cameraPosition Microsoft.Xna.Framework.Vector3-ref
---@param cameraUpVector Microsoft.Xna.Framework.Vector3-ref
---@param cameraForwardVector System.Nullable*1Microsoft*Xna*Framework*Vector3
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreateBillboard = function(objectPosition, cameraPosition, cameraUpVector, cameraForwardVector, result) end
---`Method Public Static`
---@overload fun(objectPosition:Microsoft.Xna.Framework.Vector3, cameraPosition:Microsoft.Xna.Framework.Vector3, rotateAxis:Microsoft.Xna.Framework.Vector3, cameraForwardVector:System.Nullable*1Microsoft*Xna*Framework*Vector3, objectForwardVector:System.Nullable*1Microsoft*Xna*Framework*Vector3):(Microsoft.Xna.Framework.Matrix)
---@param objectPosition Microsoft.Xna.Framework.Vector3-ref
---@param cameraPosition Microsoft.Xna.Framework.Vector3-ref
---@param rotateAxis Microsoft.Xna.Framework.Vector3-ref
---@param cameraForwardVector System.Nullable*1Microsoft*Xna*Framework*Vector3
---@param objectForwardVector System.Nullable*1Microsoft*Xna*Framework*Vector3
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreateConstrainedBillboard = function(objectPosition, cameraPosition, rotateAxis, cameraForwardVector, objectForwardVector, result) end
---`Method Public Static`
---@overload fun(axis:Microsoft.Xna.Framework.Vector3, angle:System.Single):(Microsoft.Xna.Framework.Matrix)
---@param axis Microsoft.Xna.Framework.Vector3-ref
---@param angle System.Single
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreateFromAxisAngle = function(axis, angle, result) end
---`Method Public Static`
---@overload fun(quaternion:Microsoft.Xna.Framework.Quaternion):(Microsoft.Xna.Framework.Matrix)
---@param quaternion Microsoft.Xna.Framework.Quaternion-ref
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreateFromQuaternion = function(quaternion, result) end
---`Method Public Static`
---@overload fun(yaw:System.Single, pitch:System.Single, roll:System.Single):(Microsoft.Xna.Framework.Matrix)
---@param yaw System.Single
---@param pitch System.Single
---@param roll System.Single
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreateFromYawPitchRoll = function(yaw, pitch, roll, result) end
---`Method Public Static`
---@overload fun(cameraPosition:Microsoft.Xna.Framework.Vector3, cameraTarget:Microsoft.Xna.Framework.Vector3, cameraUpVector:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Matrix)
---@param cameraPosition Microsoft.Xna.Framework.Vector3-ref
---@param cameraTarget Microsoft.Xna.Framework.Vector3-ref
---@param cameraUpVector Microsoft.Xna.Framework.Vector3-ref
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreateLookAt = function(cameraPosition, cameraTarget, cameraUpVector, result) end
---`Method Public Static`
---@overload fun(width:System.Single, height:System.Single, zNearPlane:System.Single, zFarPlane:System.Single):(Microsoft.Xna.Framework.Matrix)
---@param width System.Single
---@param height System.Single
---@param zNearPlane System.Single
---@param zFarPlane System.Single
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreateOrthographic = function(width, height, zNearPlane, zFarPlane, result) end
---`Method Public Static`
---@overload fun(left:System.Single, right:System.Single, bottom:System.Single, top:System.Single, zNearPlane:System.Single, zFarPlane:System.Single):(Microsoft.Xna.Framework.Matrix)
---@overload fun(viewingVolume:Microsoft.Xna.Framework.Rectangle, zNearPlane:System.Single, zFarPlane:System.Single):(Microsoft.Xna.Framework.Matrix)
---@param left System.Single
---@param right System.Single
---@param bottom System.Single
---@param top System.Single
---@param zNearPlane System.Single
---@param zFarPlane System.Single
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreateOrthographicOffCenter = function(left, right, bottom, top, zNearPlane, zFarPlane, result) end
---`Method Public Static`
---@overload fun(width:System.Single, height:System.Single, nearPlaneDistance:System.Single, farPlaneDistance:System.Single):(Microsoft.Xna.Framework.Matrix)
---@param width System.Single
---@param height System.Single
---@param nearPlaneDistance System.Single
---@param farPlaneDistance System.Single
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreatePerspective = function(width, height, nearPlaneDistance, farPlaneDistance, result) end
---`Method Public Static`
---@overload fun(fieldOfView:System.Single, aspectRatio:System.Single, nearPlaneDistance:System.Single, farPlaneDistance:System.Single):(Microsoft.Xna.Framework.Matrix)
---@param fieldOfView System.Single
---@param aspectRatio System.Single
---@param nearPlaneDistance System.Single
---@param farPlaneDistance System.Single
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreatePerspectiveFieldOfView = function(fieldOfView, aspectRatio, nearPlaneDistance, farPlaneDistance, result) end
---`Method Public Static`
---@overload fun(left:System.Single, right:System.Single, bottom:System.Single, top:System.Single, nearPlaneDistance:System.Single, farPlaneDistance:System.Single):(Microsoft.Xna.Framework.Matrix)
---@overload fun(viewingVolume:Microsoft.Xna.Framework.Rectangle, nearPlaneDistance:System.Single, farPlaneDistance:System.Single):(Microsoft.Xna.Framework.Matrix)
---@param left System.Single
---@param right System.Single
---@param bottom System.Single
---@param top System.Single
---@param nearPlaneDistance System.Single
---@param farPlaneDistance System.Single
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreatePerspectiveOffCenter = function(left, right, bottom, top, nearPlaneDistance, farPlaneDistance, result) end
---`Method Public Static`
---@overload fun(radians:System.Single):(Microsoft.Xna.Framework.Matrix)
---@param radians System.Single
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreateRotationX = function(radians, result) end
---`Method Public Static`
---@overload fun(radians:System.Single):(Microsoft.Xna.Framework.Matrix)
---@param radians System.Single
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreateRotationY = function(radians, result) end
---`Method Public Static`
---@overload fun(radians:System.Single):(Microsoft.Xna.Framework.Matrix)
---@param radians System.Single
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreateRotationZ = function(radians, result) end
---`Method Public Static`
---@overload fun(scale:System.Single):(Microsoft.Xna.Framework.Matrix)
---@overload fun(scale:System.Single, result:Microsoft.Xna.Framework.Matrix-ref)
---@overload fun(xScale:System.Single, yScale:System.Single, zScale:System.Single):(Microsoft.Xna.Framework.Matrix)
---@overload fun(xScale:System.Single, yScale:System.Single, zScale:System.Single, result:Microsoft.Xna.Framework.Matrix-ref)
---@overload fun(scales:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Matrix)
---@param scales Microsoft.Xna.Framework.Vector3-ref
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreateScale = function(scales, result) end
---`Method Public Static`
---@overload fun(lightDirection:Microsoft.Xna.Framework.Vector3, plane:Microsoft.Xna.Framework.Plane):(Microsoft.Xna.Framework.Matrix)
---@param lightDirection Microsoft.Xna.Framework.Vector3-ref
---@param plane Microsoft.Xna.Framework.Plane-ref
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreateShadow = function(lightDirection, plane, result) end
---`Method Public Static`
---@overload fun(xPosition:System.Single, yPosition:System.Single, zPosition:System.Single):(Microsoft.Xna.Framework.Matrix)
---@overload fun(position:Microsoft.Xna.Framework.Vector3-ref, result:Microsoft.Xna.Framework.Matrix-ref)
---@overload fun(position:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Matrix)
---@param xPosition System.Single
---@param yPosition System.Single
---@param zPosition System.Single
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreateTranslation = function(xPosition, yPosition, zPosition, result) end
---`Method Public Static`
---@overload fun(value:Microsoft.Xna.Framework.Plane):(Microsoft.Xna.Framework.Matrix)
---@param value Microsoft.Xna.Framework.Plane-ref
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreateReflection = function(value, result) end
---`Method Public Static`
---@overload fun(position:Microsoft.Xna.Framework.Vector3, forward:Microsoft.Xna.Framework.Vector3, up:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Matrix)
---@param position Microsoft.Xna.Framework.Vector3-ref
---@param forward Microsoft.Xna.Framework.Vector3-ref
---@param up Microsoft.Xna.Framework.Vector3-ref
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].CreateWorld = function(position, forward, up, result) end
---`Method Public Instance`
---@param scale Microsoft.Xna.Framework.Vector3-ref
---@param rotation Microsoft.Xna.Framework.Quaternion-ref
---@param translation Microsoft.Xna.Framework.Vector3-ref
---@return System.Boolean
_G['Matrix'].Decompose = function(scale, rotation, translation) end
---`Method Public Instance`
---@return System.Single
_G['Matrix'].Determinant = function() end
---`Method Public Static`
---@overload fun(matrix1:Microsoft.Xna.Framework.Matrix, matrix2:Microsoft.Xna.Framework.Matrix):(Microsoft.Xna.Framework.Matrix)
---@overload fun(matrix1:Microsoft.Xna.Framework.Matrix-ref, matrix2:Microsoft.Xna.Framework.Matrix-ref, result:Microsoft.Xna.Framework.Matrix-ref)
---@overload fun(matrix1:Microsoft.Xna.Framework.Matrix, divider:System.Single):(Microsoft.Xna.Framework.Matrix)
---@param matrix1 Microsoft.Xna.Framework.Matrix-ref
---@param divider System.Single
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].Divide = function(matrix1, divider, result) end
---`Method Public Instance Virtual`
---@overload fun(other:Microsoft.Xna.Framework.Matrix):(System.Boolean)
---@param obj System.Object
---@return System.Boolean
_G['Matrix'].Equals = function(obj) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['Matrix'].GetHashCode = function() end
---`Method Public Static`
---@overload fun(matrix:Microsoft.Xna.Framework.Matrix):(Microsoft.Xna.Framework.Matrix)
---@param matrix Microsoft.Xna.Framework.Matrix-ref
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].Invert = function(matrix, result) end
---`Method Public Static`
---@overload fun(matrix1:Microsoft.Xna.Framework.Matrix, matrix2:Microsoft.Xna.Framework.Matrix, amount:System.Single):(Microsoft.Xna.Framework.Matrix)
---@param matrix1 Microsoft.Xna.Framework.Matrix-ref
---@param matrix2 Microsoft.Xna.Framework.Matrix-ref
---@param amount System.Single
---@param result Microsoft.Xna.Framework.Matrix-ref
_G['Matrix'].Lerp = function(matrix1, matrix2, amount, result) end
---`Constructor Private Static`
---@overload fun():Microsoft.Xna.Framework.Matrix
---@overload fun(m11:System.Single, m12:System.Single, m13:System.Single, m14:System.Single, m21:System.Single, m22:System.Single, m23:System.Single, m24:System.Single, m31:System.Single, m32:System.Single, m33:System.Single, m34:System.Single, m41:System.Single, m42:System.Single, m43:System.Single, m44:System.Single):Microsoft.Xna.Framework.Matrix
---@param row1 Microsoft.Xna.Framework.Vector4
---@param row2 Microsoft.Xna.Framework.Vector4
---@param row3 Microsoft.Xna.Framework.Vector4
---@param row4 Microsoft.Xna.Framework.Vector4
---@return Microsoft.Xna.Framework.Matrix
_G['Matrix'] = function(row1, row2, row3, row4) end
---`Constructor Private Static`
---@overload fun():Microsoft.Xna.Framework.Matrix
---@overload fun(m11:System.Single, m12:System.Single, m13:System.Single, m14:System.Single, m21:System.Single, m22:System.Single, m23:System.Single, m24:System.Single, m31:System.Single, m32:System.Single, m33:System.Single, m34:System.Single, m41:System.Single, m42:System.Single, m43:System.Single, m44:System.Single):Microsoft.Xna.Framework.Matrix
---@param row1 Microsoft.Xna.Framework.Vector4
---@param row2 Microsoft.Xna.Framework.Vector4
---@param row3 Microsoft.Xna.Framework.Vector4
---@param row4 Microsoft.Xna.Framework.Vector4
---@return Microsoft.Xna.Framework.Matrix
_G['Matrix'].__new = function(row1, row2, row3, row4) end
---`Constructor Public Instance`
---@overload fun():Microsoft.Xna.Framework.Matrix
---@overload fun(m11:System.Single, m12:System.Single, m13:System.Single, m14:System.Single, m21:System.Single, m22:System.Single, m23:System.Single, m24:System.Single, m31:System.Single, m32:System.Single, m33:System.Single, m34:System.Single, m41:System.Single, m42:System.Single, m43:System.Single, m44:System.Single):Microsoft.Xna.Framework.Matrix
---@param row1 Microsoft.Xna.Framework.Vector4
---@param row2 Microsoft.Xna.Framework.Vector4
---@param row3 Microsoft.Xna.Framework.Vector4
---@param row4 Microsoft.Xna.Framework.Vector4
---@return Microsoft.Xna.Framework.Matrix
_G['Matrix'] = function(row1, row2, row3, row4) end
---`Constructor Public Instance`
---@overload fun():Microsoft.Xna.Framework.Matrix
---@overload fun(m11:System.Single, m12:System.Single, m13:System.Single, m14:System.Single, m21:System.Single, m22:System.Single, m23:System.Single, m24:System.Single, m31:System.Single, m32:System.Single, m33:System.Single, m34:System.Single, m41:System.Single, m42:System.Single, m43:System.Single, m44:System.Single):Microsoft.Xna.Framework.Matrix
---@param row1 Microsoft.Xna.Framework.Vector4
---@param row2 Microsoft.Xna.Framework.Vector4
---@param row3 Microsoft.Xna.Framework.Vector4
---@param row4 Microsoft.Xna.Framework.Vector4
---@return Microsoft.Xna.Framework.Matrix
_G['Matrix'].__new = function(row1, row2, row3, row4) end

View File

@@ -0,0 +1,123 @@
---@meta
---@class Microsoft.Xna.Framework.Rectangle : System.ValueType
---`Field Public Instance`
---@field X System.Int32
---`Field Public Instance`
---@field Y System.Int32
---`Field Public Instance`
---@field Width System.Int32
---`Field Public Instance`
---@field Height System.Int32
---`Field Private Static`
---@field emptyRectangle Microsoft.Xna.Framework.Rectangle
---`Getter Public Static`
---@field Empty Microsoft.Xna.Framework.Rectangle
---`Getter Public Instance`
---@field Left System.Int32
---`Getter Public Instance`
---@field Right System.Int32
---`Getter Public Instance`
---@field Top System.Int32
---`Getter Public Instance`
---@field Bottom System.Int32
---`Getter Public Instance`
---@field IsEmpty System.Boolean
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field Location Microsoft.Xna.Framework.Point
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field Size Microsoft.Xna.Framework.Point
---`Getter Public Instance`
---@field Center Microsoft.Xna.Framework.Point
---`Getter NonPublic Instance`
---@field DebugDisplayString System.String
_G['Rectangle'] = {}
---`Method Public Instance`
---@overload fun(x:System.Int32, y:System.Int32):(System.Boolean)
---@overload fun(x:System.Single, y:System.Single):(System.Boolean)
---@overload fun(value:Microsoft.Xna.Framework.Point):(System.Boolean)
---@overload fun(value:Microsoft.Xna.Framework.Point-ref, result:System.Boolean-ref)
---@overload fun(value:Microsoft.Xna.Framework.Vector2):(System.Boolean)
---@overload fun(value:Microsoft.Xna.Framework.Vector2-ref, result:System.Boolean-ref)
---@overload fun(value:Microsoft.Xna.Framework.Rectangle):(System.Boolean)
---@param value Microsoft.Xna.Framework.Rectangle-ref
---@param result System.Boolean-ref
_G['Rectangle'].Contains = function(value, result) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param other Microsoft.Xna.Framework.Rectangle
---@return System.Boolean
_G['Rectangle'].Equals = function(other) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['Rectangle'].GetHashCode = function() end
---`Method Public Instance`
---@overload fun(horizontalAmount:System.Int32, verticalAmount:System.Int32)
---@overload fun(horizontalAmount:System.Single, verticalAmount:System.Single)
---@param amount Microsoft.Xna.Framework.Vector2
_G['Rectangle'].Inflate = function(amount) end
---`Method Public Instance`
---@overload fun(value:Microsoft.Xna.Framework.Rectangle):(System.Boolean)
---@param value Microsoft.Xna.Framework.Rectangle-ref
---@param result System.Boolean-ref
_G['Rectangle'].Intersects = function(value, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Rectangle, value2:Microsoft.Xna.Framework.Rectangle):(Microsoft.Xna.Framework.Rectangle)
---@param value1 Microsoft.Xna.Framework.Rectangle-ref
---@param value2 Microsoft.Xna.Framework.Rectangle-ref
---@param result Microsoft.Xna.Framework.Rectangle-ref
_G['Rectangle'].Intersect = function(value1, value2, result) end
---`Method Public Instance`
---@overload fun(offsetX:System.Int32, offsetY:System.Int32)
---@overload fun(offsetX:System.Single, offsetY:System.Single)
---@overload fun(amount:Microsoft.Xna.Framework.Point)
---@param amount Microsoft.Xna.Framework.Vector2
_G['Rectangle'].Offset = function(amount) end
---`Method Public Instance Virtual`
---@return System.String
_G['Rectangle'].ToString = function() end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Rectangle, value2:Microsoft.Xna.Framework.Rectangle):(Microsoft.Xna.Framework.Rectangle)
---@param value1 Microsoft.Xna.Framework.Rectangle-ref
---@param value2 Microsoft.Xna.Framework.Rectangle-ref
---@param result Microsoft.Xna.Framework.Rectangle-ref
_G['Rectangle'].Union = function(value1, value2, result) end
---`Method Public Instance`
---@param point Microsoft.Xna.Framework.Point
_G['Rectangle'].AddPoint = function(point) end
---`Constructor Public Instance`
---@overload fun(x:System.Int32, y:System.Int32, width:System.Int32, height:System.Int32):Microsoft.Xna.Framework.Rectangle
---@overload fun(location:Microsoft.Xna.Framework.Point, size:Microsoft.Xna.Framework.Point):Microsoft.Xna.Framework.Rectangle
---@return Microsoft.Xna.Framework.Rectangle
_G['Rectangle'] = function() end
---`Constructor Public Instance`
---@overload fun(x:System.Int32, y:System.Int32, width:System.Int32, height:System.Int32):Microsoft.Xna.Framework.Rectangle
---@overload fun(location:Microsoft.Xna.Framework.Point, size:Microsoft.Xna.Framework.Point):Microsoft.Xna.Framework.Rectangle
---@return Microsoft.Xna.Framework.Rectangle
_G['Rectangle'].__new = function() end
---`Constructor Private Static`
---@overload fun(x:System.Int32, y:System.Int32, width:System.Int32, height:System.Int32):Microsoft.Xna.Framework.Rectangle
---@overload fun(location:Microsoft.Xna.Framework.Point, size:Microsoft.Xna.Framework.Point):Microsoft.Xna.Framework.Rectangle
---@return Microsoft.Xna.Framework.Rectangle
_G['Rectangle'] = function() end
---`Constructor Private Static`
---@overload fun(x:System.Int32, y:System.Int32, width:System.Int32, height:System.Int32):Microsoft.Xna.Framework.Rectangle
---@overload fun(location:Microsoft.Xna.Framework.Point, size:Microsoft.Xna.Framework.Point):Microsoft.Xna.Framework.Rectangle
---@return Microsoft.Xna.Framework.Rectangle
_G['Rectangle'].__new = function() end

View File

@@ -0,0 +1,261 @@
---@meta
---@class Microsoft.Xna.Framework.Vector2 : System.ValueType
---@operator unm:Microsoft.Xna.Framework.Vector2
---@operator add(Microsoft.Xna.Framework.Vector2):Microsoft.Xna.Framework.Vector2
---@operator sub(Microsoft.Xna.Framework.Vector2):Microsoft.Xna.Framework.Vector2
---@operator mul(Microsoft.Xna.Framework.Vector2):Microsoft.Xna.Framework.Vector2
---@operator mul(System.Single):Microsoft.Xna.Framework.Vector2
---@operator div(Microsoft.Xna.Framework.Vector2):Microsoft.Xna.Framework.Vector2
---@operator div(System.Single):Microsoft.Xna.Framework.Vector2
---`Field Public Instance`
---@field X System.Single
---`Field Public Instance`
---@field Y System.Single
---`Field Private Static`
---@field zeroVector Microsoft.Xna.Framework.Vector2
---`Field Private Static`
---@field unitVector Microsoft.Xna.Framework.Vector2
---`Field Private Static`
---@field unitXVector Microsoft.Xna.Framework.Vector2
---`Field Private Static`
---@field unitYVector Microsoft.Xna.Framework.Vector2
---`Getter Public Static`
---@field Zero Microsoft.Xna.Framework.Vector2
---`Getter Public Static`
---@field One Microsoft.Xna.Framework.Vector2
---`Getter Public Static`
---@field UnitX Microsoft.Xna.Framework.Vector2
---`Getter Public Static`
---@field UnitY Microsoft.Xna.Framework.Vector2
---`Getter NonPublic Instance`
---@field DebugDisplayString System.String
_G['Vector2'] = {}
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, value2:Microsoft.Xna.Framework.Vector2):(Microsoft.Xna.Framework.Vector2)
---@param value1 Microsoft.Xna.Framework.Vector2-ref
---@param value2 Microsoft.Xna.Framework.Vector2-ref
---@param result Microsoft.Xna.Framework.Vector2-ref
_G['Vector2'].Add = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, value2:Microsoft.Xna.Framework.Vector2, value3:Microsoft.Xna.Framework.Vector2, amount1:System.Single, amount2:System.Single):(Microsoft.Xna.Framework.Vector2)
---@param value1 Microsoft.Xna.Framework.Vector2-ref
---@param value2 Microsoft.Xna.Framework.Vector2-ref
---@param value3 Microsoft.Xna.Framework.Vector2-ref
---@param amount1 System.Single
---@param amount2 System.Single
---@param result Microsoft.Xna.Framework.Vector2-ref
_G['Vector2'].Barycentric = function(value1, value2, value3, amount1, amount2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, value2:Microsoft.Xna.Framework.Vector2, value3:Microsoft.Xna.Framework.Vector2, value4:Microsoft.Xna.Framework.Vector2, amount:System.Single):(Microsoft.Xna.Framework.Vector2)
---@param value1 Microsoft.Xna.Framework.Vector2-ref
---@param value2 Microsoft.Xna.Framework.Vector2-ref
---@param value3 Microsoft.Xna.Framework.Vector2-ref
---@param value4 Microsoft.Xna.Framework.Vector2-ref
---@param amount System.Single
---@param result Microsoft.Xna.Framework.Vector2-ref
_G['Vector2'].CatmullRom = function(value1, value2, value3, value4, amount, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, min:Microsoft.Xna.Framework.Vector2, max:Microsoft.Xna.Framework.Vector2):(Microsoft.Xna.Framework.Vector2)
---@param value1 Microsoft.Xna.Framework.Vector2-ref
---@param min Microsoft.Xna.Framework.Vector2-ref
---@param max Microsoft.Xna.Framework.Vector2-ref
---@param result Microsoft.Xna.Framework.Vector2-ref
_G['Vector2'].Clamp = function(value1, min, max, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, value2:Microsoft.Xna.Framework.Vector2):(System.Single)
---@param value1 Microsoft.Xna.Framework.Vector2-ref
---@param value2 Microsoft.Xna.Framework.Vector2-ref
---@param result System.Single-ref
_G['Vector2'].Distance = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, value2:Microsoft.Xna.Framework.Vector2):(System.Single)
---@param value1 Microsoft.Xna.Framework.Vector2-ref
---@param value2 Microsoft.Xna.Framework.Vector2-ref
---@param result System.Single-ref
_G['Vector2'].DistanceSquared = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, value2:Microsoft.Xna.Framework.Vector2):(Microsoft.Xna.Framework.Vector2)
---@overload fun(value1:Microsoft.Xna.Framework.Vector2-ref, value2:Microsoft.Xna.Framework.Vector2-ref, result:Microsoft.Xna.Framework.Vector2-ref)
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, divider:System.Single):(Microsoft.Xna.Framework.Vector2)
---@param value1 Microsoft.Xna.Framework.Vector2-ref
---@param divider System.Single
---@param result Microsoft.Xna.Framework.Vector2-ref
_G['Vector2'].Divide = function(value1, divider, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, value2:Microsoft.Xna.Framework.Vector2):(System.Single)
---@param value1 Microsoft.Xna.Framework.Vector2-ref
---@param value2 Microsoft.Xna.Framework.Vector2-ref
---@param result System.Single-ref
_G['Vector2'].Dot = function(value1, value2, result) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param other Microsoft.Xna.Framework.Vector2
---@return System.Boolean
_G['Vector2'].Equals = function(other) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['Vector2'].GetHashCode = function() end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, tangent1:Microsoft.Xna.Framework.Vector2, value2:Microsoft.Xna.Framework.Vector2, tangent2:Microsoft.Xna.Framework.Vector2, amount:System.Single):(Microsoft.Xna.Framework.Vector2)
---@param value1 Microsoft.Xna.Framework.Vector2-ref
---@param tangent1 Microsoft.Xna.Framework.Vector2-ref
---@param value2 Microsoft.Xna.Framework.Vector2-ref
---@param tangent2 Microsoft.Xna.Framework.Vector2-ref
---@param amount System.Single
---@param result Microsoft.Xna.Framework.Vector2-ref
_G['Vector2'].Hermite = function(value1, tangent1, value2, tangent2, amount, result) end
---`Method Public Instance`
---@return System.Single
_G['Vector2'].Length = function() end
---`Method Public Instance`
---@return System.Single
_G['Vector2'].LengthSquared = function() end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, value2:Microsoft.Xna.Framework.Vector2, amount:System.Single):(Microsoft.Xna.Framework.Vector2)
---@param value1 Microsoft.Xna.Framework.Vector2-ref
---@param value2 Microsoft.Xna.Framework.Vector2-ref
---@param amount System.Single
---@param result Microsoft.Xna.Framework.Vector2-ref
_G['Vector2'].Lerp = function(value1, value2, amount, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, value2:Microsoft.Xna.Framework.Vector2, amount:System.Single):(Microsoft.Xna.Framework.Vector2)
---@param value1 Microsoft.Xna.Framework.Vector2-ref
---@param value2 Microsoft.Xna.Framework.Vector2-ref
---@param amount System.Single
---@param result Microsoft.Xna.Framework.Vector2-ref
_G['Vector2'].LerpPrecise = function(value1, value2, amount, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, value2:Microsoft.Xna.Framework.Vector2):(Microsoft.Xna.Framework.Vector2)
---@param value1 Microsoft.Xna.Framework.Vector2-ref
---@param value2 Microsoft.Xna.Framework.Vector2-ref
---@param result Microsoft.Xna.Framework.Vector2-ref
_G['Vector2'].Max = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, value2:Microsoft.Xna.Framework.Vector2):(Microsoft.Xna.Framework.Vector2)
---@param value1 Microsoft.Xna.Framework.Vector2-ref
---@param value2 Microsoft.Xna.Framework.Vector2-ref
---@param result Microsoft.Xna.Framework.Vector2-ref
_G['Vector2'].Min = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, value2:Microsoft.Xna.Framework.Vector2):(Microsoft.Xna.Framework.Vector2)
---@overload fun(value1:Microsoft.Xna.Framework.Vector2-ref, value2:Microsoft.Xna.Framework.Vector2-ref, result:Microsoft.Xna.Framework.Vector2-ref)
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, scaleFactor:System.Single):(Microsoft.Xna.Framework.Vector2)
---@param value1 Microsoft.Xna.Framework.Vector2-ref
---@param scaleFactor System.Single
---@param result Microsoft.Xna.Framework.Vector2-ref
_G['Vector2'].Multiply = function(value1, scaleFactor, result) end
---`Method Public Static`
---@overload fun(value:Microsoft.Xna.Framework.Vector2):(Microsoft.Xna.Framework.Vector2)
---@param value Microsoft.Xna.Framework.Vector2-ref
---@param result Microsoft.Xna.Framework.Vector2-ref
_G['Vector2'].Negate = function(value, result) end
---`Method Public Instance`
_G['Vector2'].Normalize = function() end
---`Method Public Static`
---@overload fun(value:Microsoft.Xna.Framework.Vector2):(Microsoft.Xna.Framework.Vector2)
---@param value Microsoft.Xna.Framework.Vector2-ref
---@param result Microsoft.Xna.Framework.Vector2-ref
_G['Vector2'].Normalize = function(value, result) end
---`Method Public Static`
---@overload fun(vector:Microsoft.Xna.Framework.Vector2, normal:Microsoft.Xna.Framework.Vector2):(Microsoft.Xna.Framework.Vector2)
---@param vector Microsoft.Xna.Framework.Vector2-ref
---@param normal Microsoft.Xna.Framework.Vector2-ref
---@param result Microsoft.Xna.Framework.Vector2-ref
_G['Vector2'].Reflect = function(vector, normal, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, value2:Microsoft.Xna.Framework.Vector2, amount:System.Single):(Microsoft.Xna.Framework.Vector2)
---@param value1 Microsoft.Xna.Framework.Vector2-ref
---@param value2 Microsoft.Xna.Framework.Vector2-ref
---@param amount System.Single
---@param result Microsoft.Xna.Framework.Vector2-ref
_G['Vector2'].SmoothStep = function(value1, value2, amount, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector2, value2:Microsoft.Xna.Framework.Vector2):(Microsoft.Xna.Framework.Vector2)
---@param value1 Microsoft.Xna.Framework.Vector2-ref
---@param value2 Microsoft.Xna.Framework.Vector2-ref
---@param result Microsoft.Xna.Framework.Vector2-ref
_G['Vector2'].Subtract = function(value1, value2, result) end
---`Method Public Instance Virtual`
---@return System.String
_G['Vector2'].ToString = function() end
---`Method Public Instance`
---@return Microsoft.Xna.Framework.Point
_G['Vector2'].ToPoint = function() end
---`Method Public Static`
---@overload fun(position:Microsoft.Xna.Framework.Vector2, matrix:Microsoft.Xna.Framework.Matrix):(Microsoft.Xna.Framework.Vector2)
---@overload fun(position:Microsoft.Xna.Framework.Vector2-ref, matrix:Microsoft.Xna.Framework.Matrix-ref, result:Microsoft.Xna.Framework.Vector2-ref)
---@overload fun(value:Microsoft.Xna.Framework.Vector2, rotation:Microsoft.Xna.Framework.Quaternion):(Microsoft.Xna.Framework.Vector2)
---@overload fun(value:Microsoft.Xna.Framework.Vector2-ref, rotation:Microsoft.Xna.Framework.Quaternion-ref, result:Microsoft.Xna.Framework.Vector2-ref)
---@overload fun(sourceArray:(Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[]), sourceIndex:System.Int32, matrix:Microsoft.Xna.Framework.Matrix-ref, destinationArray:(Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[]), destinationIndex:System.Int32, length:System.Int32)
---@overload fun(sourceArray:(Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[]), sourceIndex:System.Int32, rotation:Microsoft.Xna.Framework.Quaternion-ref, destinationArray:(Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[]), destinationIndex:System.Int32, length:System.Int32)
---@overload fun(sourceArray:(Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[]), matrix:Microsoft.Xna.Framework.Matrix-ref, destinationArray:(Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[]))
---@param sourceArray (Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[])
---@param rotation Microsoft.Xna.Framework.Quaternion-ref
---@param destinationArray (Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[])
_G['Vector2'].Transform = function(sourceArray, rotation, destinationArray) end
---`Method Public Static`
---@overload fun(normal:Microsoft.Xna.Framework.Vector2, matrix:Microsoft.Xna.Framework.Matrix):(Microsoft.Xna.Framework.Vector2)
---@overload fun(normal:Microsoft.Xna.Framework.Vector2-ref, matrix:Microsoft.Xna.Framework.Matrix-ref, result:Microsoft.Xna.Framework.Vector2-ref)
---@overload fun(sourceArray:(Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[]), sourceIndex:System.Int32, matrix:Microsoft.Xna.Framework.Matrix-ref, destinationArray:(Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[]), destinationIndex:System.Int32, length:System.Int32)
---@param sourceArray (Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[])
---@param matrix Microsoft.Xna.Framework.Matrix-ref
---@param destinationArray (Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[])
_G['Vector2'].TransformNormal = function(sourceArray, matrix, destinationArray) end
---`Method Public Instance`
---@param x System.Single-ref
---@param y System.Single-ref
_G['Vector2'].Deconstruct = function(x, y) end
---`Constructor Public Instance`
---@overload fun(x:System.Single, y:System.Single):Microsoft.Xna.Framework.Vector2
---@overload fun(value:System.Single):Microsoft.Xna.Framework.Vector2
---@return Microsoft.Xna.Framework.Vector2
_G['Vector2'] = function() end
---`Constructor Public Instance`
---@overload fun(x:System.Single, y:System.Single):Microsoft.Xna.Framework.Vector2
---@overload fun(value:System.Single):Microsoft.Xna.Framework.Vector2
---@return Microsoft.Xna.Framework.Vector2
_G['Vector2'].__new = function() end
---`Constructor Private Static`
---@overload fun(x:System.Single, y:System.Single):Microsoft.Xna.Framework.Vector2
---@overload fun(value:System.Single):Microsoft.Xna.Framework.Vector2
---@return Microsoft.Xna.Framework.Vector2
_G['Vector2'] = function() end
---`Constructor Private Static`
---@overload fun(x:System.Single, y:System.Single):Microsoft.Xna.Framework.Vector2
---@overload fun(value:System.Single):Microsoft.Xna.Framework.Vector2
---@return Microsoft.Xna.Framework.Vector2
_G['Vector2'].__new = function() end

View File

@@ -0,0 +1,131 @@
---@meta
---@class Microsoft.Xna.Framework.Graphics.SpriteBatch : Microsoft.Xna.Framework.Graphics.GraphicsResource
---`Field Private Instance`
---@field _batcher Microsoft.Xna.Framework.Graphics.SpriteBatcher
---`Field Private Instance`
---@field _sortMode Microsoft.Xna.Framework.Graphics.SpriteSortMode
---`Field Private Instance`
---@field _blendState Microsoft.Xna.Framework.Graphics.BlendState
---`Field Private Instance`
---@field _samplerState Microsoft.Xna.Framework.Graphics.SamplerState
---`Field Private Instance`
---@field _depthStencilState Microsoft.Xna.Framework.Graphics.DepthStencilState
---`Field Private Instance`
---@field _rasterizerState Microsoft.Xna.Framework.Graphics.RasterizerState
---`Field Private Instance`
---@field _effect Microsoft.Xna.Framework.Graphics.SpriteBatch.EffectWithParams
---`Field Private Instance`
---@field _beginCalled System.Boolean
---`Field Private Instance`
---@field _spriteEffect Microsoft.Xna.Framework.Graphics.Effect
---`Field Private Instance`
---@field _matrixTransform Microsoft.Xna.Framework.Graphics.EffectParameter
---`Field Private Instance`
---@field _spritePass Microsoft.Xna.Framework.Graphics.EffectPass
---`Field Private Instance`
---@field _matrix System.Nullable*1Microsoft*Xna*Framework*Matrix
---`Field Private Instance`
---@field _lastViewport Microsoft.Xna.Framework.Graphics.Viewport
---`Field Private Instance`
---@field _projection Microsoft.Xna.Framework.Matrix
---`Field Private Instance`
---@field _tempRect Microsoft.Xna.Framework.Rectangle
---`Field Private Instance`
---@field _texCoordTL Microsoft.Xna.Framework.Vector2
---`Field Private Instance`
---@field _texCoordBR Microsoft.Xna.Framework.Vector2
---`Field NonPublic Static`
---@field NeedsHalfPixelOffset System.Boolean
_G['Microsoft']['Xna']['Framework']['Graphics']['SpriteBatch'] = {}
---`Method Public Instance`
---@param sortMode? Microsoft.Xna.Framework.Graphics.SpriteSortMode
---@param blendState? Microsoft.Xna.Framework.Graphics.BlendState
---@param samplerState? Microsoft.Xna.Framework.Graphics.SamplerState
---@param depthStencilState? Microsoft.Xna.Framework.Graphics.DepthStencilState
---@param rasterizerState? Microsoft.Xna.Framework.Graphics.RasterizerState
---@param effect? Microsoft.Xna.Framework.Graphics.Effect
---@param transformMatrix? System.Nullable*1Microsoft*Xna*Framework*Matrix
_G['Microsoft']['Xna']['Framework']['Graphics']['SpriteBatch'].Begin = function(sortMode, blendState, samplerState, depthStencilState, rasterizerState, effect, transformMatrix) end
---`Method Public Instance`
---@return Microsoft.Xna.Framework.Graphics.Effect
_G['Microsoft']['Xna']['Framework']['Graphics']['SpriteBatch'].GetCurrentEffect = function() end
---`Method Public Instance`
_G['Microsoft']['Xna']['Framework']['Graphics']['SpriteBatch'].End = function() end
---`Method Public Instance`
---@overload fun(effect?:Microsoft.Xna.Framework.Graphics.Effect, parameters?:(System.Collections.Generic.Dictionary*1System*String*1System*Object)|({[System.String]:(System.Object)}))
---@param effectWithParams Microsoft.Xna.Framework.Graphics.SpriteBatch.EffectWithParams
_G['Microsoft']['Xna']['Framework']['Graphics']['SpriteBatch'].SwapEffect = function(effectWithParams) end
---`Method Private Instance`
_G['Microsoft']['Xna']['Framework']['Graphics']['SpriteBatch'].Setup = function() end
---`Method Private Instance`
---@overload fun(texture:Microsoft.Xna.Framework.Graphics.Texture2D)
---@overload fun(spriteFont:Microsoft.Xna.Framework.Graphics.SpriteFont, text:System.String)
---@param spriteFont Microsoft.Xna.Framework.Graphics.SpriteFont
---@param text System.Text.StringBuilder
_G['Microsoft']['Xna']['Framework']['Graphics']['SpriteBatch'].CheckValid = function(spriteFont, text) end
---`Method Public Instance`
---@overload fun(texture:Microsoft.Xna.Framework.Graphics.Texture2D, position?:System.Nullable*1Microsoft*Xna*Framework*Vector2, destinationRectangle?:System.Nullable*1Microsoft*Xna*Framework*Rectangle, sourceRectangle?:System.Nullable*1Microsoft*Xna*Framework*Rectangle, origin?:System.Nullable*1Microsoft*Xna*Framework*Vector2, rotation?:System.Single, scale?:System.Nullable*1Microsoft*Xna*Framework*Vector2, color?:System.Nullable*1Microsoft*Xna*Framework*Color, effects?:Microsoft.Xna.Framework.Graphics.SpriteEffects, layerDepth?:System.Single)
---@overload fun(texture:Microsoft.Xna.Framework.Graphics.Texture2D, position:Microsoft.Xna.Framework.Vector2, sourceRectangle:System.Nullable*1Microsoft*Xna*Framework*Rectangle, color:Microsoft.Xna.Framework.Color, rotation:System.Single, origin:Microsoft.Xna.Framework.Vector2, scale:System.Single, effects:Microsoft.Xna.Framework.Graphics.SpriteEffects, layerDepth:System.Single)
---@overload fun(texture:Microsoft.Xna.Framework.Graphics.Texture2D, destinationRectangle:Microsoft.Xna.Framework.Rectangle, sourceRectangle:System.Nullable*1Microsoft*Xna*Framework*Rectangle, color:Microsoft.Xna.Framework.Color, rotation:System.Single, origin:Microsoft.Xna.Framework.Vector2, effects:Microsoft.Xna.Framework.Graphics.SpriteEffects, layerDepth:System.Single)
---@overload fun(texture:Microsoft.Xna.Framework.Graphics.Texture2D, position:Microsoft.Xna.Framework.Vector2, sourceRectangle:System.Nullable*1Microsoft*Xna*Framework*Rectangle, color:Microsoft.Xna.Framework.Color)
---@overload fun(texture:Microsoft.Xna.Framework.Graphics.Texture2D, destinationRectangle:Microsoft.Xna.Framework.Rectangle, sourceRectangle:System.Nullable*1Microsoft*Xna*Framework*Rectangle, color:Microsoft.Xna.Framework.Color)
---@overload fun(texture:Microsoft.Xna.Framework.Graphics.Texture2D, position:Microsoft.Xna.Framework.Vector2, color:Microsoft.Xna.Framework.Color)
---@param texture Microsoft.Xna.Framework.Graphics.Texture2D
---@param destinationRectangle Microsoft.Xna.Framework.Rectangle
---@param color Microsoft.Xna.Framework.Color
_G['Microsoft']['Xna']['Framework']['Graphics']['SpriteBatch'].Draw = function(texture, destinationRectangle, color) end
---`Method Public Instance Virtual`
---@overload fun(texture:Microsoft.Xna.Framework.Graphics.Texture2D, vertices:(Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture-arr)|(Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture[]), layerDepth:System.Single, count?:System.Nullable*1System*Int32)
---@param texture Microsoft.Xna.Framework.Graphics.Texture2D
---@param position Microsoft.Xna.Framework.Vector2
---@param sourceRectangle System.Nullable*1Microsoft*Xna*Framework*Rectangle
---@param color Microsoft.Xna.Framework.Color
---@param rotation System.Single
---@param origin Microsoft.Xna.Framework.Vector2
---@param scale Microsoft.Xna.Framework.Vector2
---@param effects Microsoft.Xna.Framework.Graphics.SpriteEffects
---@param layerDepth System.Single
_G['Microsoft']['Xna']['Framework']['Graphics']['SpriteBatch'].Draw = function(texture, position, sourceRectangle, color, rotation, origin, scale, effects, layerDepth) end
---`Method NonPublic Instance`
_G['Microsoft']['Xna']['Framework']['Graphics']['SpriteBatch'].FlushIfNeeded = function() end
---`Method Public Instance`
---@overload fun(spriteFont:Microsoft.Xna.Framework.Graphics.SpriteFont, text:System.String, position:Microsoft.Xna.Framework.Vector2, color:Microsoft.Xna.Framework.Color)
---@overload fun(spriteFont:Microsoft.Xna.Framework.Graphics.SpriteFont, text:System.String, position:Microsoft.Xna.Framework.Vector2, color:Microsoft.Xna.Framework.Color, rotation:System.Single, origin:Microsoft.Xna.Framework.Vector2, scale:System.Single, effects:Microsoft.Xna.Framework.Graphics.SpriteEffects, layerDepth:System.Single)
---@overload fun(spriteFont:Microsoft.Xna.Framework.Graphics.SpriteFont, text:System.String, position:Microsoft.Xna.Framework.Vector2, color:Microsoft.Xna.Framework.Color, rotation:System.Single, origin:Microsoft.Xna.Framework.Vector2, scale:Microsoft.Xna.Framework.Vector2, effects:Microsoft.Xna.Framework.Graphics.SpriteEffects, layerDepth:System.Single)
---@overload fun(spriteFont:Microsoft.Xna.Framework.Graphics.SpriteFont, text:System.Text.StringBuilder, position:Microsoft.Xna.Framework.Vector2, color:Microsoft.Xna.Framework.Color)
---@overload fun(spriteFont:Microsoft.Xna.Framework.Graphics.SpriteFont, text:System.Text.StringBuilder, position:Microsoft.Xna.Framework.Vector2, color:Microsoft.Xna.Framework.Color, rotation:System.Single, origin:Microsoft.Xna.Framework.Vector2, scale:System.Single, effects:Microsoft.Xna.Framework.Graphics.SpriteEffects, layerDepth:System.Single)
---@param spriteFont Microsoft.Xna.Framework.Graphics.SpriteFont
---@param text System.Text.StringBuilder
---@param position Microsoft.Xna.Framework.Vector2
---@param color Microsoft.Xna.Framework.Color
---@param rotation System.Single
---@param origin Microsoft.Xna.Framework.Vector2
---@param scale Microsoft.Xna.Framework.Vector2
---@param effects Microsoft.Xna.Framework.Graphics.SpriteEffects
---@param layerDepth System.Single
_G['Microsoft']['Xna']['Framework']['Graphics']['SpriteBatch'].DrawString = function(spriteFont, text, position, color, rotation, origin, scale, effects, layerDepth) end
---`Method NonPublic Instance Virtual`
---@param disposing System.Boolean
_G['Microsoft']['Xna']['Framework']['Graphics']['SpriteBatch'].Dispose = function(disposing) end
---`Constructor Public Instance`
---@param graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
---@return Microsoft.Xna.Framework.Graphics.SpriteBatch
_G['Microsoft']['Xna']['Framework']['Graphics']['SpriteBatch'] = function(graphicsDevice) end
---`Constructor Public Instance`
---@param graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
---@return Microsoft.Xna.Framework.Graphics.SpriteBatch
_G['Microsoft']['Xna']['Framework']['Graphics']['SpriteBatch'].__new = function(graphicsDevice) end

View File

@@ -0,0 +1,260 @@
---@meta
---@class Microsoft.Xna.Framework.Graphics.Texture2D : Microsoft.Xna.Framework.Graphics.Texture
---`Field NonPublic Instance`
---@field width System.Int32
---`Field NonPublic Instance`
---@field height System.Int32
---`Field NonPublic Instance`
---@field ArraySize System.Int32
---`Field Private Instance`
---@field _shared System.Boolean
---`Field Private Instance`
---@field _mipmap System.Boolean
---`Field Private Instance`
---@field _sampleDescription SharpDX.DXGI.SampleDescription
---`Field Private Instance`
---@field _cachedStagingTexture SharpDX.Direct3D11.Texture2D
---`Field Private Static`
---@field imgfactory SharpDX.WIC.ImagingFactory
---`Getter NonPublic Instance`
---<br/>`Setter Private Instance`
---@field TexelWidth System.Single
---`Getter NonPublic Instance`
---<br/>`Setter Private Instance`
---@field TexelHeight System.Single
---`Getter Public Instance`
---@field Bounds Microsoft.Xna.Framework.Rectangle
---`Getter Public Instance Virtual`
---@field Width System.Int32
---`Getter Public Instance Virtual`
---@field Height System.Int32
---`Getter NonPublic Instance`
---@field Shared System.Boolean
---`Getter NonPublic Instance`
---@field Mipmap System.Boolean
---`Getter NonPublic Instance`
---@field SampleDescription SharpDX.DXGI.SampleDescription
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'] = {}
---`Method Public Instance`
---@overload fun(level:System.Int32, arraySlice:System.Int32, rect:System.Nullable*1Microsoft*Xna*Framework*Rectangle, data:(Microsoft.Xna.Framework.Graphics.T-arr)|(Microsoft.Xna.Framework.Graphics.Texture2D.T[]), startIndex:System.Int32, elementCount:System.Int32)
---@overload fun(level:System.Int32, rect:System.Nullable*1Microsoft*Xna*Framework*Rectangle, data:(Microsoft.Xna.Framework.Graphics.T-arr)|(Microsoft.Xna.Framework.Graphics.Texture2D.T[]), startIndex:System.Int32, elementCount:System.Int32)
---@overload fun(data:(Microsoft.Xna.Framework.Graphics.T-arr)|(Microsoft.Xna.Framework.Graphics.Texture2D.T[]), startIndex:System.Int32, elementCount:System.Int32)
---@param data (Microsoft.Xna.Framework.Graphics.T-arr)|(Microsoft.Xna.Framework.Graphics.Texture2D.T[])
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].SetData = function(data) end
---`Method Public Instance`
---@overload fun(level:System.Int32, arraySlice:System.Int32, rect:System.Nullable*1Microsoft*Xna*Framework*Rectangle, data:(Microsoft.Xna.Framework.Graphics.T-arr)|(Microsoft.Xna.Framework.Graphics.Texture2D.T[]), startIndex:System.Int32, elementCount:System.Int32)
---@overload fun(level:System.Int32, rect:System.Nullable*1Microsoft*Xna*Framework*Rectangle, data:(Microsoft.Xna.Framework.Graphics.T-arr)|(Microsoft.Xna.Framework.Graphics.Texture2D.T[]), startIndex:System.Int32, elementCount:System.Int32)
---@overload fun(data:(Microsoft.Xna.Framework.Graphics.T-arr)|(Microsoft.Xna.Framework.Graphics.Texture2D.T[]), startIndex:System.Int32, elementCount:System.Int32)
---@param data (Microsoft.Xna.Framework.Graphics.T-arr)|(Microsoft.Xna.Framework.Graphics.Texture2D.T[])
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].GetData = function(data) end
---`Method Public Static`
---@param graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
---@param stream System.IO.Stream
---@return Microsoft.Xna.Framework.Graphics.Texture2D
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].FromStream = function(graphicsDevice, stream) end
---`Method Public Static`
---@param stream System.IO.Stream
---@param width System.Int32-ref
---@param height System.Int32-ref
---@param channels System.Int32-ref
---@return (System.Byte-arr)|(System.Byte[])
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].TextureDataFromStream = function(stream, width, height, channels) end
---`Method Public Instance`
---@param stream System.IO.Stream
---@param width System.Int32
---@param height System.Int32
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].SaveAsJpeg = function(stream, width, height) end
---`Method Public Instance`
---@param stream System.IO.Stream
---@param width System.Int32
---@param height System.Int32
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].SaveAsPng = function(stream, width, height) end
---`Method Public Instance`
---@param textureStream System.IO.Stream
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].Reload = function(textureStream) end
---`Method Private Static`
---@param pixelHeight System.Int32
---@param pixelWidth System.Int32
---@param pixels (System.Int32-arr)|(System.Int32[])
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].ConvertToABGR = function(pixelHeight, pixelWidth, pixels) end
---`Method Private Instance`
---@param level System.Int32
---@param arraySlice System.Int32
---@param rect System.Nullable*1Microsoft*Xna*Framework*Rectangle
---@param data (Microsoft.Xna.Framework.Graphics.T-arr)|(Microsoft.Xna.Framework.Graphics.Texture2D.T[])
---@param startIndex System.Int32
---@param elementCount System.Int32
---@param checkedRect Microsoft.Xna.Framework.Rectangle-ref
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].ValidateParams = function(level, arraySlice, rect, data, startIndex, elementCount, checkedRect) end
---`Method Private Instance`
---@param width System.Int32
---@param height System.Int32
---@param mipmap System.Boolean
---@param format Microsoft.Xna.Framework.Graphics.SurfaceFormat
---@param type Microsoft.Xna.Framework.Graphics.Texture2D.SurfaceType
---@param shared System.Boolean
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].PlatformConstruct = function(width, height, mipmap, format, type, shared) end
---`Method Private Instance`
---@overload fun(level:System.Int32, data:(Microsoft.Xna.Framework.Graphics.T-arr)|(Microsoft.Xna.Framework.Graphics.Texture2D.T[]), startIndex:System.Int32, elementCount:System.Int32)
---@param level System.Int32
---@param arraySlice System.Int32
---@param rect Microsoft.Xna.Framework.Rectangle
---@param data (Microsoft.Xna.Framework.Graphics.T-arr)|(Microsoft.Xna.Framework.Graphics.Texture2D.T[])
---@param startIndex System.Int32
---@param elementCount System.Int32
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].PlatformSetData = function(level, arraySlice, rect, data, startIndex, elementCount) end
---`Method Private Instance`
---@param level System.Int32
---@param arraySlice System.Int32
---@param rect Microsoft.Xna.Framework.Rectangle
---@param data (Microsoft.Xna.Framework.Graphics.T-arr)|(Microsoft.Xna.Framework.Graphics.Texture2D.T[])
---@param startIndex System.Int32
---@param elementCount System.Int32
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].PlatformGetData = function(level, arraySlice, rect, data, startIndex, elementCount) end
---`Method NonPublic Instance Virtual`
---@param disposing System.Boolean
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].Dispose = function(disposing) end
---`Method Private Instance`
---@param arraySlice System.Int32
---@param level System.Int32
---@return System.Int32
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].CalculateSubresourceIndex = function(arraySlice, level) end
---`Method Private Static`
---@param graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
---@param stream System.IO.Stream
---@return Microsoft.Xna.Framework.Graphics.Texture2D
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].PlatformFromStream = function(graphicsDevice, stream) end
---`Method Private Instance`
---@param stream System.IO.Stream
---@param width System.Int32
---@param height System.Int32
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].PlatformSaveAsJpeg = function(stream, width, height) end
---`Method Private Static`
---@param pixelHeight System.Int32
---@param pixelWidth System.Int32
---@param pixels (System.Byte-arr)|(System.Byte[])
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].ConvertToRGBA = function(pixelHeight, pixelWidth, pixels) end
---`Method Private Instance`
---@param stream System.IO.Stream
---@param width System.Int32
---@param height System.Int32
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].PlatformSaveAsPng = function(stream, width, height) end
---`Method Private Static`
---@param bsource SharpDX.WIC.BitmapSource
---@param device Microsoft.Xna.Framework.Graphics.GraphicsDevice
---@return SharpDX.Direct3D11.Texture2D
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].CreateTex2DFromBitmap = function(bsource, device) end
---`Method Private Static`
---@param stream System.IO.Stream
---@param decoder SharpDX.WIC.BitmapDecoder-ref
---@return SharpDX.WIC.BitmapSource
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].LoadBitmap = function(stream, decoder) end
---`Method NonPublic Instance Virtual`
---@return SharpDX.Direct3D11.Texture2DDescription
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].GetTexture2DDescription = function() end
---`Method NonPublic Instance Virtual`
---@return SharpDX.Direct3D11.Resource
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].CreateTexture = function() end
---`Method NonPublic Instance Virtual`
---@return SharpDX.Direct3D11.ShaderResourceView
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].CreateShaderResourceView = function() end
---`Method NonPublic Instance Virtual`
---@return SharpDX.DXGI.SampleDescription
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].CreateSampleDescription = function() end
---`Method NonPublic Instance`
---@return SharpDX.DXGI.SampleDescription
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].GetTextureSampleDescription = function() end
---`Method Private Instance`
---@param textureStream System.IO.Stream
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].PlatformReload = function(textureStream) end
---`Constructor Public Instance`
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice, width:System.Int32, height:System.Int32):Microsoft.Xna.Framework.Graphics.Texture2D
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice, width:System.Int32, height:System.Int32, mipmap:System.Boolean, format:Microsoft.Xna.Framework.Graphics.SurfaceFormat):Microsoft.Xna.Framework.Graphics.Texture2D
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice, width:System.Int32, height:System.Int32, mipmap:System.Boolean, format:Microsoft.Xna.Framework.Graphics.SurfaceFormat, arraySize:System.Int32):Microsoft.Xna.Framework.Graphics.Texture2D
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice, width:System.Int32, height:System.Int32, mipmap:System.Boolean, format:Microsoft.Xna.Framework.Graphics.SurfaceFormat, type:Microsoft.Xna.Framework.Graphics.Texture2D.SurfaceType):Microsoft.Xna.Framework.Graphics.Texture2D
---@param graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
---@param width System.Int32
---@param height System.Int32
---@param mipmap System.Boolean
---@param format Microsoft.Xna.Framework.Graphics.SurfaceFormat
---@param type Microsoft.Xna.Framework.Graphics.Texture2D.SurfaceType
---@param shared System.Boolean
---@param arraySize System.Int32
---@return Microsoft.Xna.Framework.Graphics.Texture2D
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'] = function(graphicsDevice, width, height, mipmap, format, type, shared, arraySize) end
---`Constructor Public Instance`
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice, width:System.Int32, height:System.Int32):Microsoft.Xna.Framework.Graphics.Texture2D
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice, width:System.Int32, height:System.Int32, mipmap:System.Boolean, format:Microsoft.Xna.Framework.Graphics.SurfaceFormat):Microsoft.Xna.Framework.Graphics.Texture2D
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice, width:System.Int32, height:System.Int32, mipmap:System.Boolean, format:Microsoft.Xna.Framework.Graphics.SurfaceFormat, arraySize:System.Int32):Microsoft.Xna.Framework.Graphics.Texture2D
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice, width:System.Int32, height:System.Int32, mipmap:System.Boolean, format:Microsoft.Xna.Framework.Graphics.SurfaceFormat, type:Microsoft.Xna.Framework.Graphics.Texture2D.SurfaceType):Microsoft.Xna.Framework.Graphics.Texture2D
---@param graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
---@param width System.Int32
---@param height System.Int32
---@param mipmap System.Boolean
---@param format Microsoft.Xna.Framework.Graphics.SurfaceFormat
---@param type Microsoft.Xna.Framework.Graphics.Texture2D.SurfaceType
---@param shared System.Boolean
---@param arraySize System.Int32
---@return Microsoft.Xna.Framework.Graphics.Texture2D
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].__new = function(graphicsDevice, width, height, mipmap, format, type, shared, arraySize) end
---`Constructor NonPublic Instance`
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice, width:System.Int32, height:System.Int32):Microsoft.Xna.Framework.Graphics.Texture2D
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice, width:System.Int32, height:System.Int32, mipmap:System.Boolean, format:Microsoft.Xna.Framework.Graphics.SurfaceFormat):Microsoft.Xna.Framework.Graphics.Texture2D
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice, width:System.Int32, height:System.Int32, mipmap:System.Boolean, format:Microsoft.Xna.Framework.Graphics.SurfaceFormat, arraySize:System.Int32):Microsoft.Xna.Framework.Graphics.Texture2D
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice, width:System.Int32, height:System.Int32, mipmap:System.Boolean, format:Microsoft.Xna.Framework.Graphics.SurfaceFormat, type:Microsoft.Xna.Framework.Graphics.Texture2D.SurfaceType):Microsoft.Xna.Framework.Graphics.Texture2D
---@param graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
---@param width System.Int32
---@param height System.Int32
---@param mipmap System.Boolean
---@param format Microsoft.Xna.Framework.Graphics.SurfaceFormat
---@param type Microsoft.Xna.Framework.Graphics.Texture2D.SurfaceType
---@param shared System.Boolean
---@param arraySize System.Int32
---@return Microsoft.Xna.Framework.Graphics.Texture2D
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'] = function(graphicsDevice, width, height, mipmap, format, type, shared, arraySize) end
---`Constructor NonPublic Instance`
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice, width:System.Int32, height:System.Int32):Microsoft.Xna.Framework.Graphics.Texture2D
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice, width:System.Int32, height:System.Int32, mipmap:System.Boolean, format:Microsoft.Xna.Framework.Graphics.SurfaceFormat):Microsoft.Xna.Framework.Graphics.Texture2D
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice, width:System.Int32, height:System.Int32, mipmap:System.Boolean, format:Microsoft.Xna.Framework.Graphics.SurfaceFormat, arraySize:System.Int32):Microsoft.Xna.Framework.Graphics.Texture2D
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice, width:System.Int32, height:System.Int32, mipmap:System.Boolean, format:Microsoft.Xna.Framework.Graphics.SurfaceFormat, type:Microsoft.Xna.Framework.Graphics.Texture2D.SurfaceType):Microsoft.Xna.Framework.Graphics.Texture2D
---@param graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
---@param width System.Int32
---@param height System.Int32
---@param mipmap System.Boolean
---@param format Microsoft.Xna.Framework.Graphics.SurfaceFormat
---@param type Microsoft.Xna.Framework.Graphics.Texture2D.SurfaceType
---@param shared System.Boolean
---@param arraySize System.Int32
---@return Microsoft.Xna.Framework.Graphics.Texture2D
_G['Microsoft']['Xna']['Framework']['Graphics']['Texture2D'].__new = function(graphicsDevice, width, height, mipmap, format, type, shared, arraySize) end

View File

@@ -0,0 +1,10 @@
---@meta
---@class Microsoft.Xna.Framework.Graphics.SpriteEffects : System.Enum
---`Field Public Static`
---@field None Microsoft.Xna.Framework.Graphics.SpriteEffects
---`Field Public Static`
---@field FlipHorizontally Microsoft.Xna.Framework.Graphics.SpriteEffects
---`Field Public Static`
---@field FlipVertically Microsoft.Xna.Framework.Graphics.SpriteEffects
_G['SpriteEffects'] = {}

View File

@@ -0,0 +1,307 @@
---@meta
---@class Microsoft.Xna.Framework.Vector3 : System.ValueType
---@operator unm:Microsoft.Xna.Framework.Vector3
---@operator sub(Microsoft.Xna.Framework.Vector3):Microsoft.Xna.Framework.Vector3
---@operator mul(Microsoft.Xna.Framework.Vector3):Microsoft.Xna.Framework.Vector3
---@operator mul(System.Single):Microsoft.Xna.Framework.Vector3
---@operator div(Microsoft.Xna.Framework.Vector3):Microsoft.Xna.Framework.Vector3
---@operator div(System.Single):Microsoft.Xna.Framework.Vector3
---@operator add(Microsoft.Xna.Framework.Vector3):Microsoft.Xna.Framework.Vector3
---`Field Public Instance`
---@field X System.Single
---`Field Public Instance`
---@field Y System.Single
---`Field Public Instance`
---@field Z System.Single
---`Field Private Static`
---@field zero Microsoft.Xna.Framework.Vector3
---`Field Private Static`
---@field one Microsoft.Xna.Framework.Vector3
---`Field Private Static`
---@field unitX Microsoft.Xna.Framework.Vector3
---`Field Private Static`
---@field unitY Microsoft.Xna.Framework.Vector3
---`Field Private Static`
---@field unitZ Microsoft.Xna.Framework.Vector3
---`Field Private Static`
---@field up Microsoft.Xna.Framework.Vector3
---`Field Private Static`
---@field down Microsoft.Xna.Framework.Vector3
---`Field Private Static`
---@field right Microsoft.Xna.Framework.Vector3
---`Field Private Static`
---@field left Microsoft.Xna.Framework.Vector3
---`Field Private Static`
---@field forward Microsoft.Xna.Framework.Vector3
---`Field Private Static`
---@field backward Microsoft.Xna.Framework.Vector3
---`Getter Public Static`
---@field Zero Microsoft.Xna.Framework.Vector3
---`Getter Public Static`
---@field One Microsoft.Xna.Framework.Vector3
---`Getter Public Static`
---@field UnitX Microsoft.Xna.Framework.Vector3
---`Getter Public Static`
---@field UnitY Microsoft.Xna.Framework.Vector3
---`Getter Public Static`
---@field UnitZ Microsoft.Xna.Framework.Vector3
---`Getter Public Static`
---@field Up Microsoft.Xna.Framework.Vector3
---`Getter Public Static`
---@field Down Microsoft.Xna.Framework.Vector3
---`Getter Public Static`
---@field Right Microsoft.Xna.Framework.Vector3
---`Getter Public Static`
---@field Left Microsoft.Xna.Framework.Vector3
---`Getter Public Static`
---@field Forward Microsoft.Xna.Framework.Vector3
---`Getter Public Static`
---@field Backward Microsoft.Xna.Framework.Vector3
---`Getter NonPublic Instance`
---@field DebugDisplayString System.String
_G['Vector3'] = {}
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, value2:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Vector3)
---@param value1 Microsoft.Xna.Framework.Vector3-ref
---@param value2 Microsoft.Xna.Framework.Vector3-ref
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].Add = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, value2:Microsoft.Xna.Framework.Vector3, value3:Microsoft.Xna.Framework.Vector3, amount1:System.Single, amount2:System.Single):(Microsoft.Xna.Framework.Vector3)
---@param value1 Microsoft.Xna.Framework.Vector3-ref
---@param value2 Microsoft.Xna.Framework.Vector3-ref
---@param value3 Microsoft.Xna.Framework.Vector3-ref
---@param amount1 System.Single
---@param amount2 System.Single
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].Barycentric = function(value1, value2, value3, amount1, amount2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, value2:Microsoft.Xna.Framework.Vector3, value3:Microsoft.Xna.Framework.Vector3, value4:Microsoft.Xna.Framework.Vector3, amount:System.Single):(Microsoft.Xna.Framework.Vector3)
---@param value1 Microsoft.Xna.Framework.Vector3-ref
---@param value2 Microsoft.Xna.Framework.Vector3-ref
---@param value3 Microsoft.Xna.Framework.Vector3-ref
---@param value4 Microsoft.Xna.Framework.Vector3-ref
---@param amount System.Single
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].CatmullRom = function(value1, value2, value3, value4, amount, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, min:Microsoft.Xna.Framework.Vector3, max:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Vector3)
---@param value1 Microsoft.Xna.Framework.Vector3-ref
---@param min Microsoft.Xna.Framework.Vector3-ref
---@param max Microsoft.Xna.Framework.Vector3-ref
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].Clamp = function(value1, min, max, result) end
---`Method Public Static`
---@overload fun(vector1:Microsoft.Xna.Framework.Vector3, vector2:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Vector3)
---@param vector1 Microsoft.Xna.Framework.Vector3-ref
---@param vector2 Microsoft.Xna.Framework.Vector3-ref
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].Cross = function(vector1, vector2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, value2:Microsoft.Xna.Framework.Vector3):(System.Single)
---@param value1 Microsoft.Xna.Framework.Vector3-ref
---@param value2 Microsoft.Xna.Framework.Vector3-ref
---@param result System.Single-ref
_G['Vector3'].Distance = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, value2:Microsoft.Xna.Framework.Vector3):(System.Single)
---@param value1 Microsoft.Xna.Framework.Vector3-ref
---@param value2 Microsoft.Xna.Framework.Vector3-ref
---@param result System.Single-ref
_G['Vector3'].DistanceSquared = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, value2:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Vector3)
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, divider:System.Single):(Microsoft.Xna.Framework.Vector3)
---@overload fun(value1:Microsoft.Xna.Framework.Vector3-ref, divider:System.Single, result:Microsoft.Xna.Framework.Vector3-ref)
---@param value1 Microsoft.Xna.Framework.Vector3-ref
---@param value2 Microsoft.Xna.Framework.Vector3-ref
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].Divide = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, value2:Microsoft.Xna.Framework.Vector3):(System.Single)
---@param value1 Microsoft.Xna.Framework.Vector3-ref
---@param value2 Microsoft.Xna.Framework.Vector3-ref
---@param result System.Single-ref
_G['Vector3'].Dot = function(value1, value2, result) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param other Microsoft.Xna.Framework.Vector3
---@return System.Boolean
_G['Vector3'].Equals = function(other) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['Vector3'].GetHashCode = function() end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, tangent1:Microsoft.Xna.Framework.Vector3, value2:Microsoft.Xna.Framework.Vector3, tangent2:Microsoft.Xna.Framework.Vector3, amount:System.Single):(Microsoft.Xna.Framework.Vector3)
---@param value1 Microsoft.Xna.Framework.Vector3-ref
---@param tangent1 Microsoft.Xna.Framework.Vector3-ref
---@param value2 Microsoft.Xna.Framework.Vector3-ref
---@param tangent2 Microsoft.Xna.Framework.Vector3-ref
---@param amount System.Single
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].Hermite = function(value1, tangent1, value2, tangent2, amount, result) end
---`Method Public Instance`
---@return System.Single
_G['Vector3'].Length = function() end
---`Method Public Instance`
---@return System.Single
_G['Vector3'].LengthSquared = function() end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, value2:Microsoft.Xna.Framework.Vector3, amount:System.Single):(Microsoft.Xna.Framework.Vector3)
---@param value1 Microsoft.Xna.Framework.Vector3-ref
---@param value2 Microsoft.Xna.Framework.Vector3-ref
---@param amount System.Single
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].Lerp = function(value1, value2, amount, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, value2:Microsoft.Xna.Framework.Vector3, amount:System.Single):(Microsoft.Xna.Framework.Vector3)
---@param value1 Microsoft.Xna.Framework.Vector3-ref
---@param value2 Microsoft.Xna.Framework.Vector3-ref
---@param amount System.Single
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].LerpPrecise = function(value1, value2, amount, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, value2:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Vector3)
---@param value1 Microsoft.Xna.Framework.Vector3-ref
---@param value2 Microsoft.Xna.Framework.Vector3-ref
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].Max = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, value2:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Vector3)
---@param value1 Microsoft.Xna.Framework.Vector3-ref
---@param value2 Microsoft.Xna.Framework.Vector3-ref
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].Min = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, value2:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Vector3)
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, scaleFactor:System.Single):(Microsoft.Xna.Framework.Vector3)
---@overload fun(value1:Microsoft.Xna.Framework.Vector3-ref, scaleFactor:System.Single, result:Microsoft.Xna.Framework.Vector3-ref)
---@param value1 Microsoft.Xna.Framework.Vector3-ref
---@param value2 Microsoft.Xna.Framework.Vector3-ref
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].Multiply = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Vector3)
---@param value Microsoft.Xna.Framework.Vector3-ref
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].Negate = function(value, result) end
---`Method Public Instance`
_G['Vector3'].Normalize = function() end
---`Method Public Static`
---@overload fun(value:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Vector3)
---@param value Microsoft.Xna.Framework.Vector3-ref
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].Normalize = function(value, result) end
---`Method Public Static`
---@overload fun(vector:Microsoft.Xna.Framework.Vector3, normal:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Vector3)
---@param vector Microsoft.Xna.Framework.Vector3-ref
---@param normal Microsoft.Xna.Framework.Vector3-ref
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].Reflect = function(vector, normal, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, value2:Microsoft.Xna.Framework.Vector3, amount:System.Single):(Microsoft.Xna.Framework.Vector3)
---@param value1 Microsoft.Xna.Framework.Vector3-ref
---@param value2 Microsoft.Xna.Framework.Vector3-ref
---@param amount System.Single
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].SmoothStep = function(value1, value2, amount, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector3, value2:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Vector3)
---@param value1 Microsoft.Xna.Framework.Vector3-ref
---@param value2 Microsoft.Xna.Framework.Vector3-ref
---@param result Microsoft.Xna.Framework.Vector3-ref
_G['Vector3'].Subtract = function(value1, value2, result) end
---`Method Public Instance Virtual`
---@return System.String
_G['Vector3'].ToString = function() end
---`Method Public Static`
---@overload fun(position:Microsoft.Xna.Framework.Vector3, matrix:Microsoft.Xna.Framework.Matrix):(Microsoft.Xna.Framework.Vector3)
---@overload fun(position:Microsoft.Xna.Framework.Vector3-ref, matrix:Microsoft.Xna.Framework.Matrix-ref, result:Microsoft.Xna.Framework.Vector3-ref)
---@overload fun(value:Microsoft.Xna.Framework.Vector3, rotation:Microsoft.Xna.Framework.Quaternion):(Microsoft.Xna.Framework.Vector3)
---@overload fun(value:Microsoft.Xna.Framework.Vector3-ref, rotation:Microsoft.Xna.Framework.Quaternion-ref, result:Microsoft.Xna.Framework.Vector3-ref)
---@overload fun(sourceArray:(Microsoft.Xna.Framework.Vector3-arr)|(Microsoft.Xna.Framework.Vector3[]), sourceIndex:System.Int32, matrix:Microsoft.Xna.Framework.Matrix-ref, destinationArray:(Microsoft.Xna.Framework.Vector3-arr)|(Microsoft.Xna.Framework.Vector3[]), destinationIndex:System.Int32, length:System.Int32)
---@overload fun(sourceArray:(Microsoft.Xna.Framework.Vector3-arr)|(Microsoft.Xna.Framework.Vector3[]), sourceIndex:System.Int32, rotation:Microsoft.Xna.Framework.Quaternion-ref, destinationArray:(Microsoft.Xna.Framework.Vector3-arr)|(Microsoft.Xna.Framework.Vector3[]), destinationIndex:System.Int32, length:System.Int32)
---@overload fun(sourceArray:(Microsoft.Xna.Framework.Vector3-arr)|(Microsoft.Xna.Framework.Vector3[]), matrix:Microsoft.Xna.Framework.Matrix-ref, destinationArray:(Microsoft.Xna.Framework.Vector3-arr)|(Microsoft.Xna.Framework.Vector3[]))
---@param sourceArray (Microsoft.Xna.Framework.Vector3-arr)|(Microsoft.Xna.Framework.Vector3[])
---@param rotation Microsoft.Xna.Framework.Quaternion-ref
---@param destinationArray (Microsoft.Xna.Framework.Vector3-arr)|(Microsoft.Xna.Framework.Vector3[])
_G['Vector3'].Transform = function(sourceArray, rotation, destinationArray) end
---`Method Public Static`
---@overload fun(normal:Microsoft.Xna.Framework.Vector3, matrix:Microsoft.Xna.Framework.Matrix):(Microsoft.Xna.Framework.Vector3)
---@overload fun(normal:Microsoft.Xna.Framework.Vector3-ref, matrix:Microsoft.Xna.Framework.Matrix-ref, result:Microsoft.Xna.Framework.Vector3-ref)
---@overload fun(sourceArray:(Microsoft.Xna.Framework.Vector3-arr)|(Microsoft.Xna.Framework.Vector3[]), sourceIndex:System.Int32, matrix:Microsoft.Xna.Framework.Matrix-ref, destinationArray:(Microsoft.Xna.Framework.Vector3-arr)|(Microsoft.Xna.Framework.Vector3[]), destinationIndex:System.Int32, length:System.Int32)
---@param sourceArray (Microsoft.Xna.Framework.Vector3-arr)|(Microsoft.Xna.Framework.Vector3[])
---@param matrix Microsoft.Xna.Framework.Matrix-ref
---@param destinationArray (Microsoft.Xna.Framework.Vector3-arr)|(Microsoft.Xna.Framework.Vector3[])
_G['Vector3'].TransformNormal = function(sourceArray, matrix, destinationArray) end
---`Method Public Instance`
---@param x System.Single-ref
---@param y System.Single-ref
---@param z System.Single-ref
_G['Vector3'].Deconstruct = function(x, y, z) end
---`Constructor Private Static`
---@overload fun():Microsoft.Xna.Framework.Vector3
---@overload fun(x:System.Single, y:System.Single, z:System.Single):Microsoft.Xna.Framework.Vector3
---@overload fun(value:System.Single):Microsoft.Xna.Framework.Vector3
---@param value Microsoft.Xna.Framework.Vector2
---@param z System.Single
---@return Microsoft.Xna.Framework.Vector3
_G['Vector3'] = function(value, z) end
---`Constructor Private Static`
---@overload fun():Microsoft.Xna.Framework.Vector3
---@overload fun(x:System.Single, y:System.Single, z:System.Single):Microsoft.Xna.Framework.Vector3
---@overload fun(value:System.Single):Microsoft.Xna.Framework.Vector3
---@param value Microsoft.Xna.Framework.Vector2
---@param z System.Single
---@return Microsoft.Xna.Framework.Vector3
_G['Vector3'].__new = function(value, z) end
---`Constructor Public Instance`
---@overload fun():Microsoft.Xna.Framework.Vector3
---@overload fun(x:System.Single, y:System.Single, z:System.Single):Microsoft.Xna.Framework.Vector3
---@overload fun(value:System.Single):Microsoft.Xna.Framework.Vector3
---@param value Microsoft.Xna.Framework.Vector2
---@param z System.Single
---@return Microsoft.Xna.Framework.Vector3
_G['Vector3'] = function(value, z) end
---`Constructor Public Instance`
---@overload fun():Microsoft.Xna.Framework.Vector3
---@overload fun(x:System.Single, y:System.Single, z:System.Single):Microsoft.Xna.Framework.Vector3
---@overload fun(value:System.Single):Microsoft.Xna.Framework.Vector3
---@param value Microsoft.Xna.Framework.Vector2
---@param z System.Single
---@return Microsoft.Xna.Framework.Vector3
_G['Vector3'].__new = function(value, z) end

View File

@@ -0,0 +1,275 @@
---@meta
---@class Microsoft.Xna.Framework.Vector4 : System.ValueType
---@operator div(Microsoft.Xna.Framework.Vector4):Microsoft.Xna.Framework.Vector4
---@operator div(System.Single):Microsoft.Xna.Framework.Vector4
---@operator unm:Microsoft.Xna.Framework.Vector4
---@operator add(Microsoft.Xna.Framework.Vector4):Microsoft.Xna.Framework.Vector4
---@operator sub(Microsoft.Xna.Framework.Vector4):Microsoft.Xna.Framework.Vector4
---@operator mul(Microsoft.Xna.Framework.Vector4):Microsoft.Xna.Framework.Vector4
---@operator mul(System.Single):Microsoft.Xna.Framework.Vector4
---`Field Public Instance`
---@field X System.Single
---`Field Public Instance`
---@field Y System.Single
---`Field Public Instance`
---@field Z System.Single
---`Field Public Instance`
---@field W System.Single
---`Field Private Static`
---@field zero Microsoft.Xna.Framework.Vector4
---`Field Private Static`
---@field one Microsoft.Xna.Framework.Vector4
---`Field Private Static`
---@field unitX Microsoft.Xna.Framework.Vector4
---`Field Private Static`
---@field unitY Microsoft.Xna.Framework.Vector4
---`Field Private Static`
---@field unitZ Microsoft.Xna.Framework.Vector4
---`Field Private Static`
---@field unitW Microsoft.Xna.Framework.Vector4
---`Getter Public Static`
---@field Zero Microsoft.Xna.Framework.Vector4
---`Getter Public Static`
---@field One Microsoft.Xna.Framework.Vector4
---`Getter Public Static`
---@field UnitX Microsoft.Xna.Framework.Vector4
---`Getter Public Static`
---@field UnitY Microsoft.Xna.Framework.Vector4
---`Getter Public Static`
---@field UnitZ Microsoft.Xna.Framework.Vector4
---`Getter Public Static`
---@field UnitW Microsoft.Xna.Framework.Vector4
---`Getter NonPublic Instance`
---@field DebugDisplayString System.String
_G['Vector4'] = {}
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, value2:Microsoft.Xna.Framework.Vector4):(Microsoft.Xna.Framework.Vector4)
---@param value1 Microsoft.Xna.Framework.Vector4-ref
---@param value2 Microsoft.Xna.Framework.Vector4-ref
---@param result Microsoft.Xna.Framework.Vector4-ref
_G['Vector4'].Add = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, value2:Microsoft.Xna.Framework.Vector4, value3:Microsoft.Xna.Framework.Vector4, amount1:System.Single, amount2:System.Single):(Microsoft.Xna.Framework.Vector4)
---@param value1 Microsoft.Xna.Framework.Vector4-ref
---@param value2 Microsoft.Xna.Framework.Vector4-ref
---@param value3 Microsoft.Xna.Framework.Vector4-ref
---@param amount1 System.Single
---@param amount2 System.Single
---@param result Microsoft.Xna.Framework.Vector4-ref
_G['Vector4'].Barycentric = function(value1, value2, value3, amount1, amount2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, value2:Microsoft.Xna.Framework.Vector4, value3:Microsoft.Xna.Framework.Vector4, value4:Microsoft.Xna.Framework.Vector4, amount:System.Single):(Microsoft.Xna.Framework.Vector4)
---@param value1 Microsoft.Xna.Framework.Vector4-ref
---@param value2 Microsoft.Xna.Framework.Vector4-ref
---@param value3 Microsoft.Xna.Framework.Vector4-ref
---@param value4 Microsoft.Xna.Framework.Vector4-ref
---@param amount System.Single
---@param result Microsoft.Xna.Framework.Vector4-ref
_G['Vector4'].CatmullRom = function(value1, value2, value3, value4, amount, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, min:Microsoft.Xna.Framework.Vector4, max:Microsoft.Xna.Framework.Vector4):(Microsoft.Xna.Framework.Vector4)
---@param value1 Microsoft.Xna.Framework.Vector4-ref
---@param min Microsoft.Xna.Framework.Vector4-ref
---@param max Microsoft.Xna.Framework.Vector4-ref
---@param result Microsoft.Xna.Framework.Vector4-ref
_G['Vector4'].Clamp = function(value1, min, max, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, value2:Microsoft.Xna.Framework.Vector4):(System.Single)
---@param value1 Microsoft.Xna.Framework.Vector4-ref
---@param value2 Microsoft.Xna.Framework.Vector4-ref
---@param result System.Single-ref
_G['Vector4'].Distance = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, value2:Microsoft.Xna.Framework.Vector4):(System.Single)
---@param value1 Microsoft.Xna.Framework.Vector4-ref
---@param value2 Microsoft.Xna.Framework.Vector4-ref
---@param result System.Single-ref
_G['Vector4'].DistanceSquared = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, value2:Microsoft.Xna.Framework.Vector4):(Microsoft.Xna.Framework.Vector4)
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, divider:System.Single):(Microsoft.Xna.Framework.Vector4)
---@overload fun(value1:Microsoft.Xna.Framework.Vector4-ref, divider:System.Single, result:Microsoft.Xna.Framework.Vector4-ref)
---@param value1 Microsoft.Xna.Framework.Vector4-ref
---@param value2 Microsoft.Xna.Framework.Vector4-ref
---@param result Microsoft.Xna.Framework.Vector4-ref
_G['Vector4'].Divide = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, value2:Microsoft.Xna.Framework.Vector4):(System.Single)
---@param value1 Microsoft.Xna.Framework.Vector4-ref
---@param value2 Microsoft.Xna.Framework.Vector4-ref
---@param result System.Single-ref
_G['Vector4'].Dot = function(value1, value2, result) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param other Microsoft.Xna.Framework.Vector4
---@return System.Boolean
_G['Vector4'].Equals = function(other) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['Vector4'].GetHashCode = function() end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, tangent1:Microsoft.Xna.Framework.Vector4, value2:Microsoft.Xna.Framework.Vector4, tangent2:Microsoft.Xna.Framework.Vector4, amount:System.Single):(Microsoft.Xna.Framework.Vector4)
---@param value1 Microsoft.Xna.Framework.Vector4-ref
---@param tangent1 Microsoft.Xna.Framework.Vector4-ref
---@param value2 Microsoft.Xna.Framework.Vector4-ref
---@param tangent2 Microsoft.Xna.Framework.Vector4-ref
---@param amount System.Single
---@param result Microsoft.Xna.Framework.Vector4-ref
_G['Vector4'].Hermite = function(value1, tangent1, value2, tangent2, amount, result) end
---`Method Public Instance`
---@return System.Single
_G['Vector4'].Length = function() end
---`Method Public Instance`
---@return System.Single
_G['Vector4'].LengthSquared = function() end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, value2:Microsoft.Xna.Framework.Vector4, amount:System.Single):(Microsoft.Xna.Framework.Vector4)
---@param value1 Microsoft.Xna.Framework.Vector4-ref
---@param value2 Microsoft.Xna.Framework.Vector4-ref
---@param amount System.Single
---@param result Microsoft.Xna.Framework.Vector4-ref
_G['Vector4'].Lerp = function(value1, value2, amount, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, value2:Microsoft.Xna.Framework.Vector4, amount:System.Single):(Microsoft.Xna.Framework.Vector4)
---@param value1 Microsoft.Xna.Framework.Vector4-ref
---@param value2 Microsoft.Xna.Framework.Vector4-ref
---@param amount System.Single
---@param result Microsoft.Xna.Framework.Vector4-ref
_G['Vector4'].LerpPrecise = function(value1, value2, amount, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, value2:Microsoft.Xna.Framework.Vector4):(Microsoft.Xna.Framework.Vector4)
---@param value1 Microsoft.Xna.Framework.Vector4-ref
---@param value2 Microsoft.Xna.Framework.Vector4-ref
---@param result Microsoft.Xna.Framework.Vector4-ref
_G['Vector4'].Max = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, value2:Microsoft.Xna.Framework.Vector4):(Microsoft.Xna.Framework.Vector4)
---@param value1 Microsoft.Xna.Framework.Vector4-ref
---@param value2 Microsoft.Xna.Framework.Vector4-ref
---@param result Microsoft.Xna.Framework.Vector4-ref
_G['Vector4'].Min = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, value2:Microsoft.Xna.Framework.Vector4):(Microsoft.Xna.Framework.Vector4)
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, scaleFactor:System.Single):(Microsoft.Xna.Framework.Vector4)
---@overload fun(value1:Microsoft.Xna.Framework.Vector4-ref, scaleFactor:System.Single, result:Microsoft.Xna.Framework.Vector4-ref)
---@param value1 Microsoft.Xna.Framework.Vector4-ref
---@param value2 Microsoft.Xna.Framework.Vector4-ref
---@param result Microsoft.Xna.Framework.Vector4-ref
_G['Vector4'].Multiply = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value:Microsoft.Xna.Framework.Vector4):(Microsoft.Xna.Framework.Vector4)
---@param value Microsoft.Xna.Framework.Vector4-ref
---@param result Microsoft.Xna.Framework.Vector4-ref
_G['Vector4'].Negate = function(value, result) end
---`Method Public Instance`
_G['Vector4'].Normalize = function() end
---`Method Public Static`
---@overload fun(value:Microsoft.Xna.Framework.Vector4):(Microsoft.Xna.Framework.Vector4)
---@param value Microsoft.Xna.Framework.Vector4-ref
---@param result Microsoft.Xna.Framework.Vector4-ref
_G['Vector4'].Normalize = function(value, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, value2:Microsoft.Xna.Framework.Vector4, amount:System.Single):(Microsoft.Xna.Framework.Vector4)
---@param value1 Microsoft.Xna.Framework.Vector4-ref
---@param value2 Microsoft.Xna.Framework.Vector4-ref
---@param amount System.Single
---@param result Microsoft.Xna.Framework.Vector4-ref
_G['Vector4'].SmoothStep = function(value1, value2, amount, result) end
---`Method Public Static`
---@overload fun(value1:Microsoft.Xna.Framework.Vector4, value2:Microsoft.Xna.Framework.Vector4):(Microsoft.Xna.Framework.Vector4)
---@param value1 Microsoft.Xna.Framework.Vector4-ref
---@param value2 Microsoft.Xna.Framework.Vector4-ref
---@param result Microsoft.Xna.Framework.Vector4-ref
_G['Vector4'].Subtract = function(value1, value2, result) end
---`Method Public Static`
---@overload fun(value:Microsoft.Xna.Framework.Vector2, matrix:Microsoft.Xna.Framework.Matrix):(Microsoft.Xna.Framework.Vector4)
---@overload fun(value:Microsoft.Xna.Framework.Vector2, rotation:Microsoft.Xna.Framework.Quaternion):(Microsoft.Xna.Framework.Vector4)
---@overload fun(value:Microsoft.Xna.Framework.Vector3, matrix:Microsoft.Xna.Framework.Matrix):(Microsoft.Xna.Framework.Vector4)
---@overload fun(value:Microsoft.Xna.Framework.Vector3, rotation:Microsoft.Xna.Framework.Quaternion):(Microsoft.Xna.Framework.Vector4)
---@overload fun(value:Microsoft.Xna.Framework.Vector4, matrix:Microsoft.Xna.Framework.Matrix):(Microsoft.Xna.Framework.Vector4)
---@overload fun(value:Microsoft.Xna.Framework.Vector4, rotation:Microsoft.Xna.Framework.Quaternion):(Microsoft.Xna.Framework.Vector4)
---@overload fun(value:Microsoft.Xna.Framework.Vector2-ref, matrix:Microsoft.Xna.Framework.Matrix-ref, result:Microsoft.Xna.Framework.Vector4-ref)
---@overload fun(value:Microsoft.Xna.Framework.Vector2-ref, rotation:Microsoft.Xna.Framework.Quaternion-ref, result:Microsoft.Xna.Framework.Vector4-ref)
---@overload fun(value:Microsoft.Xna.Framework.Vector3-ref, matrix:Microsoft.Xna.Framework.Matrix-ref, result:Microsoft.Xna.Framework.Vector4-ref)
---@overload fun(value:Microsoft.Xna.Framework.Vector3-ref, rotation:Microsoft.Xna.Framework.Quaternion-ref, result:Microsoft.Xna.Framework.Vector4-ref)
---@overload fun(value:Microsoft.Xna.Framework.Vector4-ref, matrix:Microsoft.Xna.Framework.Matrix-ref, result:Microsoft.Xna.Framework.Vector4-ref)
---@overload fun(value:Microsoft.Xna.Framework.Vector4-ref, rotation:Microsoft.Xna.Framework.Quaternion-ref, result:Microsoft.Xna.Framework.Vector4-ref)
---@overload fun(sourceArray:(Microsoft.Xna.Framework.Vector4-arr)|(Microsoft.Xna.Framework.Vector4[]), sourceIndex:System.Int32, matrix:Microsoft.Xna.Framework.Matrix-ref, destinationArray:(Microsoft.Xna.Framework.Vector4-arr)|(Microsoft.Xna.Framework.Vector4[]), destinationIndex:System.Int32, length:System.Int32)
---@overload fun(sourceArray:(Microsoft.Xna.Framework.Vector4-arr)|(Microsoft.Xna.Framework.Vector4[]), sourceIndex:System.Int32, rotation:Microsoft.Xna.Framework.Quaternion-ref, destinationArray:(Microsoft.Xna.Framework.Vector4-arr)|(Microsoft.Xna.Framework.Vector4[]), destinationIndex:System.Int32, length:System.Int32)
---@overload fun(sourceArray:(Microsoft.Xna.Framework.Vector4-arr)|(Microsoft.Xna.Framework.Vector4[]), matrix:Microsoft.Xna.Framework.Matrix-ref, destinationArray:(Microsoft.Xna.Framework.Vector4-arr)|(Microsoft.Xna.Framework.Vector4[]))
---@param sourceArray (Microsoft.Xna.Framework.Vector4-arr)|(Microsoft.Xna.Framework.Vector4[])
---@param rotation Microsoft.Xna.Framework.Quaternion-ref
---@param destinationArray (Microsoft.Xna.Framework.Vector4-arr)|(Microsoft.Xna.Framework.Vector4[])
_G['Vector4'].Transform = function(sourceArray, rotation, destinationArray) end
---`Method Public Instance Virtual`
---@return System.String
_G['Vector4'].ToString = function() end
---`Method Public Instance`
---@param x System.Single-ref
---@param y System.Single-ref
---@param z System.Single-ref
---@param w System.Single-ref
_G['Vector4'].Deconstruct = function(x, y, z, w) end
---`Constructor Private Static`
---@overload fun():Microsoft.Xna.Framework.Vector4
---@overload fun(x:System.Single, y:System.Single, z:System.Single, w:System.Single):Microsoft.Xna.Framework.Vector4
---@overload fun(value:Microsoft.Xna.Framework.Vector2, z:System.Single, w:System.Single):Microsoft.Xna.Framework.Vector4
---@overload fun(value:Microsoft.Xna.Framework.Vector3, w:System.Single):Microsoft.Xna.Framework.Vector4
---@param value System.Single
---@return Microsoft.Xna.Framework.Vector4
_G['Vector4'] = function(value) end
---`Constructor Private Static`
---@overload fun():Microsoft.Xna.Framework.Vector4
---@overload fun(x:System.Single, y:System.Single, z:System.Single, w:System.Single):Microsoft.Xna.Framework.Vector4
---@overload fun(value:Microsoft.Xna.Framework.Vector2, z:System.Single, w:System.Single):Microsoft.Xna.Framework.Vector4
---@overload fun(value:Microsoft.Xna.Framework.Vector3, w:System.Single):Microsoft.Xna.Framework.Vector4
---@param value System.Single
---@return Microsoft.Xna.Framework.Vector4
_G['Vector4'].__new = function(value) end
---`Constructor Public Instance`
---@overload fun():Microsoft.Xna.Framework.Vector4
---@overload fun(x:System.Single, y:System.Single, z:System.Single, w:System.Single):Microsoft.Xna.Framework.Vector4
---@overload fun(value:Microsoft.Xna.Framework.Vector2, z:System.Single, w:System.Single):Microsoft.Xna.Framework.Vector4
---@overload fun(value:Microsoft.Xna.Framework.Vector3, w:System.Single):Microsoft.Xna.Framework.Vector4
---@param value System.Single
---@return Microsoft.Xna.Framework.Vector4
_G['Vector4'] = function(value) end
---`Constructor Public Instance`
---@overload fun():Microsoft.Xna.Framework.Vector4
---@overload fun(x:System.Single, y:System.Single, z:System.Single, w:System.Single):Microsoft.Xna.Framework.Vector4
---@overload fun(value:Microsoft.Xna.Framework.Vector2, z:System.Single, w:System.Single):Microsoft.Xna.Framework.Vector4
---@overload fun(value:Microsoft.Xna.Framework.Vector3, w:System.Single):Microsoft.Xna.Framework.Vector4
---@param value System.Single
---@return Microsoft.Xna.Framework.Vector4
_G['Vector4'].__new = function(value) end

View File

@@ -0,0 +1,554 @@
---@meta
---@class Microsoft.Xna.Framework.Color : System.ValueType
---@operator mul(System.Single):Microsoft.Xna.Framework.Color
---`Field Private Instance`
---@field _packedValue System.UInt32
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field B System.Byte
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field G System.Byte
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field R System.Byte
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field A System.Byte
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field TransparentBlack Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Transparent Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field AliceBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field AntiqueWhite Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Aqua Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Aquamarine Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Azure Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Beige Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Bisque Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Black Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field BlanchedAlmond Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Blue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field BlueViolet Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Brown Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field BurlyWood Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field CadetBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Chartreuse Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Chocolate Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Coral Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field CornflowerBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Cornsilk Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Crimson Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Cyan Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkCyan Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkGoldenrod Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkGray Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkGreen Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkKhaki Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkMagenta Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkOliveGreen Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkOrange Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkOrchid Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkRed Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkSalmon Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkSeaGreen Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkSlateBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkSlateGray Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkTurquoise Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DarkViolet Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DeepPink Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DeepSkyBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DimGray Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field DodgerBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Firebrick Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field FloralWhite Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field ForestGreen Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Fuchsia Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Gainsboro Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field GhostWhite Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Gold Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Goldenrod Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Gray Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Green Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field GreenYellow Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Honeydew Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field HotPink Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field IndianRed Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Indigo Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Ivory Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Khaki Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Lavender Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LavenderBlush Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LawnGreen Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LemonChiffon Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LightBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LightCoral Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LightCyan Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LightGoldenrodYellow Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LightGray Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LightGreen Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LightPink Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LightSalmon Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LightSeaGreen Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LightSkyBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LightSlateGray Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LightSteelBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LightYellow Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Lime Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field LimeGreen Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Linen Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Magenta Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Maroon Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field MediumAquamarine Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field MediumBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field MediumOrchid Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field MediumPurple Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field MediumSeaGreen Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field MediumSlateBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field MediumSpringGreen Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field MediumTurquoise Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field MediumVioletRed Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field MidnightBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field MintCream Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field MistyRose Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Moccasin Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field MonoGameOrange Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field NavajoWhite Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Navy Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field OldLace Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Olive Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field OliveDrab Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Orange Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field OrangeRed Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Orchid Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field PaleGoldenrod Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field PaleGreen Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field PaleTurquoise Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field PaleVioletRed Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field PapayaWhip Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field PeachPuff Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Peru Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Pink Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Plum Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field PowderBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Purple Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Red Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field RosyBrown Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field RoyalBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field SaddleBrown Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Salmon Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field SandyBrown Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field SeaGreen Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field SeaShell Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Sienna Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Silver Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field SkyBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field SlateBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field SlateGray Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Snow Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field SpringGreen Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field SteelBlue Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Tan Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Teal Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Thistle Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Tomato Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Turquoise Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Violet Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Wheat Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field White Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field WhiteSmoke Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Yellow Microsoft.Xna.Framework.Color
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field YellowGreen Microsoft.Xna.Framework.Color
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field PackedValue System.UInt32
---`Getter NonPublic Instance`
---@field DebugDisplayString System.String
_G['Color'] = {}
---`Method Public Static`
---@param value1 Microsoft.Xna.Framework.Color
---@param value2 Microsoft.Xna.Framework.Color
---@param amount System.Single
---@return Microsoft.Xna.Framework.Color
_G['Color'].Lerp = function(value1, value2, amount) end
---`Method Public Instance`
---@return Microsoft.Xna.Framework.Vector3
_G['Color'].ToVector3 = function() end
---`Method Public Instance`
---@return Microsoft.Xna.Framework.Vector4
_G['Color'].ToVector4 = function() end
---`Method Public Instance Virtual`
---@return System.String
_G['Color'].ToString = function() end
---`Method Public Instance Virtual`
---@overload fun(other:Microsoft.Xna.Framework.Color):(System.Boolean)
---@param obj System.Object
---@return System.Boolean
_G['Color'].Equals = function(obj) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['Color'].GetHashCode = function() end
---`Constructor Private Static`
---@overload fun():Microsoft.Xna.Framework.Color
---@overload fun(packedValue:System.UInt32):Microsoft.Xna.Framework.Color
---@overload fun(color:Microsoft.Xna.Framework.Vector4):Microsoft.Xna.Framework.Color
---@overload fun(color:Microsoft.Xna.Framework.Vector3):Microsoft.Xna.Framework.Color
---@overload fun(color:Microsoft.Xna.Framework.Color, alpha:System.Int32):Microsoft.Xna.Framework.Color
---@overload fun(color:Microsoft.Xna.Framework.Color, alpha:System.Single):Microsoft.Xna.Framework.Color
---@overload fun(r:System.Single, g:System.Single, b:System.Single):Microsoft.Xna.Framework.Color
---@overload fun(r:System.Single, g:System.Single, b:System.Single, alpha:System.Single):Microsoft.Xna.Framework.Color
---@overload fun(r:System.Int32, g:System.Int32, b:System.Int32):Microsoft.Xna.Framework.Color
---@overload fun(r:System.Int32, g:System.Int32, b:System.Int32, alpha:System.Int32):Microsoft.Xna.Framework.Color
---@param r System.Byte
---@param g System.Byte
---@param b System.Byte
---@param alpha System.Byte
---@return Microsoft.Xna.Framework.Color
_G['Color'] = function(r, g, b, alpha) end
---`Constructor Private Static`
---@overload fun():Microsoft.Xna.Framework.Color
---@overload fun(packedValue:System.UInt32):Microsoft.Xna.Framework.Color
---@overload fun(color:Microsoft.Xna.Framework.Vector4):Microsoft.Xna.Framework.Color
---@overload fun(color:Microsoft.Xna.Framework.Vector3):Microsoft.Xna.Framework.Color
---@overload fun(color:Microsoft.Xna.Framework.Color, alpha:System.Int32):Microsoft.Xna.Framework.Color
---@overload fun(color:Microsoft.Xna.Framework.Color, alpha:System.Single):Microsoft.Xna.Framework.Color
---@overload fun(r:System.Single, g:System.Single, b:System.Single):Microsoft.Xna.Framework.Color
---@overload fun(r:System.Single, g:System.Single, b:System.Single, alpha:System.Single):Microsoft.Xna.Framework.Color
---@overload fun(r:System.Int32, g:System.Int32, b:System.Int32):Microsoft.Xna.Framework.Color
---@overload fun(r:System.Int32, g:System.Int32, b:System.Int32, alpha:System.Int32):Microsoft.Xna.Framework.Color
---@param r System.Byte
---@param g System.Byte
---@param b System.Byte
---@param alpha System.Byte
---@return Microsoft.Xna.Framework.Color
_G['Color'].__new = function(r, g, b, alpha) end
---`Constructor Public Instance`
---@overload fun():Microsoft.Xna.Framework.Color
---@overload fun(packedValue:System.UInt32):Microsoft.Xna.Framework.Color
---@overload fun(color:Microsoft.Xna.Framework.Vector4):Microsoft.Xna.Framework.Color
---@overload fun(color:Microsoft.Xna.Framework.Vector3):Microsoft.Xna.Framework.Color
---@overload fun(color:Microsoft.Xna.Framework.Color, alpha:System.Int32):Microsoft.Xna.Framework.Color
---@overload fun(color:Microsoft.Xna.Framework.Color, alpha:System.Single):Microsoft.Xna.Framework.Color
---@overload fun(r:System.Single, g:System.Single, b:System.Single):Microsoft.Xna.Framework.Color
---@overload fun(r:System.Single, g:System.Single, b:System.Single, alpha:System.Single):Microsoft.Xna.Framework.Color
---@overload fun(r:System.Int32, g:System.Int32, b:System.Int32):Microsoft.Xna.Framework.Color
---@overload fun(r:System.Int32, g:System.Int32, b:System.Int32, alpha:System.Int32):Microsoft.Xna.Framework.Color
---@param r System.Byte
---@param g System.Byte
---@param b System.Byte
---@param alpha System.Byte
---@return Microsoft.Xna.Framework.Color
_G['Color'] = function(r, g, b, alpha) end
---`Constructor Public Instance`
---@overload fun():Microsoft.Xna.Framework.Color
---@overload fun(packedValue:System.UInt32):Microsoft.Xna.Framework.Color
---@overload fun(color:Microsoft.Xna.Framework.Vector4):Microsoft.Xna.Framework.Color
---@overload fun(color:Microsoft.Xna.Framework.Vector3):Microsoft.Xna.Framework.Color
---@overload fun(color:Microsoft.Xna.Framework.Color, alpha:System.Int32):Microsoft.Xna.Framework.Color
---@overload fun(color:Microsoft.Xna.Framework.Color, alpha:System.Single):Microsoft.Xna.Framework.Color
---@overload fun(r:System.Single, g:System.Single, b:System.Single):Microsoft.Xna.Framework.Color
---@overload fun(r:System.Single, g:System.Single, b:System.Single, alpha:System.Single):Microsoft.Xna.Framework.Color
---@overload fun(r:System.Int32, g:System.Int32, b:System.Int32):Microsoft.Xna.Framework.Color
---@overload fun(r:System.Int32, g:System.Int32, b:System.Int32, alpha:System.Int32):Microsoft.Xna.Framework.Color
---@param r System.Byte
---@param g System.Byte
---@param b System.Byte
---@param alpha System.Byte
---@return Microsoft.Xna.Framework.Color
_G['Color'].__new = function(r, g, b, alpha) end

View File

@@ -0,0 +1,60 @@
---@meta
---@class Microsoft.Xna.Framework.Point : System.ValueType
---@operator add(Microsoft.Xna.Framework.Point):Microsoft.Xna.Framework.Point
---@operator sub(Microsoft.Xna.Framework.Point):Microsoft.Xna.Framework.Point
---@operator mul(Microsoft.Xna.Framework.Point):Microsoft.Xna.Framework.Point
---@operator div(Microsoft.Xna.Framework.Point):Microsoft.Xna.Framework.Point
---`Field Public Instance`
---@field X System.Int32
---`Field Public Instance`
---@field Y System.Int32
---`Field Private Static`
---@field zeroPoint Microsoft.Xna.Framework.Point
---`Getter Public Static`
---@field Zero Microsoft.Xna.Framework.Point
---`Getter NonPublic Instance`
---@field DebugDisplayString System.String
_G['Point'] = {}
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param other Microsoft.Xna.Framework.Point
---@return System.Boolean
_G['Point'].Equals = function(other) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['Point'].GetHashCode = function() end
---`Method Public Instance Virtual`
---@return System.String
_G['Point'].ToString = function() end
---`Method Public Instance`
---@return Microsoft.Xna.Framework.Vector2
_G['Point'].ToVector2 = function() end
---`Constructor Public Instance`
---@overload fun(x:System.Int32, y:System.Int32):Microsoft.Xna.Framework.Point
---@overload fun(value:System.Int32):Microsoft.Xna.Framework.Point
---@return Microsoft.Xna.Framework.Point
_G['Point'] = function() end
---`Constructor Public Instance`
---@overload fun(x:System.Int32, y:System.Int32):Microsoft.Xna.Framework.Point
---@overload fun(value:System.Int32):Microsoft.Xna.Framework.Point
---@return Microsoft.Xna.Framework.Point
_G['Point'].__new = function() end
---`Constructor Private Static`
---@overload fun(x:System.Int32, y:System.Int32):Microsoft.Xna.Framework.Point
---@overload fun(value:System.Int32):Microsoft.Xna.Framework.Point
---@return Microsoft.Xna.Framework.Point
_G['Point'] = function() end
---`Constructor Private Static`
---@overload fun(x:System.Int32, y:System.Int32):Microsoft.Xna.Framework.Point
---@overload fun(value:System.Int32):Microsoft.Xna.Framework.Point
---@return Microsoft.Xna.Framework.Point
_G['Point'].__new = function() end

View File

@@ -0,0 +1,28 @@
---@meta
---@class Barotrauma.WaterVertexData : System.ValueType
---`Field Private Instance`
---@field DistortStrengthX System.Single
---`Field Private Instance`
---@field DistortStrengthY System.Single
---`Field Private Instance`
---@field WaterColorStrength System.Single
---`Field Private Instance`
---@field WaterAlpha System.Single
_G['WaterVertexData'] = {}
---`Constructor Public Instance`
---@param distortStrengthX System.Single
---@param distortStrengthY System.Single
---@param waterColorStrength System.Single
---@param waterAlpha System.Single
---@return Barotrauma.WaterVertexData
_G['WaterVertexData'] = function(distortStrengthX, distortStrengthY, waterColorStrength, waterAlpha) end
---`Constructor Public Instance`
---@param distortStrengthX System.Single
---@param distortStrengthY System.Single
---@param waterColorStrength System.Single
---@param waterAlpha System.Single
---@return Barotrauma.WaterVertexData
_G['WaterVertexData'].__new = function(distortStrengthX, distortStrengthY, waterColorStrength, waterAlpha) end

View File

@@ -0,0 +1,92 @@
---@meta
---@class Barotrauma.WaterRenderer : System.Object
---`Field Public Instance`
---@field waterColor Microsoft.Xna.Framework.Color
---`Field Public Instance`
---@field IndoorsWaterColor Barotrauma.WaterVertexData
---`Field Public Instance`
---@field IndoorsSurfaceTopColor Barotrauma.WaterVertexData
---`Field Public Instance`
---@field IndoorsSurfaceBottomColor Barotrauma.WaterVertexData
---`Field Public Instance`
---@field vertices (Microsoft.Xna.Framework.Graphics.VertexPositionTexture-arr)|(Microsoft.Xna.Framework.Graphics.VertexPositionTexture[])
---`Field Public Instance`
---@field IndoorsVertices (System.Collections.Generic.Dictionary*1Barotrauma*EntityGrid*1Microsoft*Xna*Framework*Graphics*VertexPositionColorTexture-arr)|({[Barotrauma.EntityGrid]:((Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture-arr)|(Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture[]))})
---`Field Private Instance`
---@field basicEffect Microsoft.Xna.Framework.Graphics.BasicEffect
---`Field Public Instance`
---@field PositionInBuffer System.Int32
---`Field Public Instance`
---@field PositionInIndoorsBuffer (System.Collections.Generic.Dictionary*1Barotrauma*EntityGrid*1System*Int32)|({[Barotrauma.EntityGrid]:(System.Int32)})
---`Field Private Instance`
---@field tempVertices (Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture-arr)|(Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture[])
---`Field Private Instance`
---@field tempCorners (Microsoft.Xna.Framework.Vector3-arr)|(Microsoft.Xna.Framework.Vector3[])
---`Field Private Instance`
---@field buffersToRemove (System.Collections.Generic.List*1Barotrauma*EntityGrid)|(Barotrauma.EntityGrid[])
---`Field Public Static`
---@field Instance Barotrauma.WaterRenderer
---`Field Public Static`
---@field DistortionScale Microsoft.Xna.Framework.Vector2
---`Field Public Static`
---@field DistortionStrength Microsoft.Xna.Framework.Vector2
---`Field Public Static`
---@field BlurAmount System.Single
---`Field Public Static`
---@field DefaultBufferSize System.Int32
---`Field Public Static`
---@field DefaultIndoorsBufferSize System.Int32
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field WavePos Microsoft.Xna.Framework.Vector2
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field WaterEffect Microsoft.Xna.Framework.Graphics.Effect
---`Getter Public Instance`
---@field WaterTexture Microsoft.Xna.Framework.Graphics.Texture2D
_G['WaterRenderer'] = {}
---`Method Public Instance`
---@param spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
---@param texture Microsoft.Xna.Framework.Graphics.RenderTarget2D
---@param cam Barotrauma.Camera
_G['WaterRenderer'].RenderWater = function(spriteBatch, texture, cam) end
---`Method Public Instance`
---@param vel Microsoft.Xna.Framework.Vector2
---@param deltaTime System.Single
_G['WaterRenderer'].ScrollWater = function(vel, deltaTime) end
---`Method Public Instance`
---@param graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
---@param cam Barotrauma.Camera
---@param texture Microsoft.Xna.Framework.Graphics.RenderTarget2D
---@param transform Microsoft.Xna.Framework.Matrix
_G['WaterRenderer'].RenderAir = function(graphicsDevice, cam, texture, transform) end
---`Method Public Instance`
_G['WaterRenderer'].ResetBuffers = function() end
---`Method Public Instance Virtual`
_G['WaterRenderer'].Dispose = function() end
---`Constructor Public Instance`
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice):Barotrauma.WaterRenderer
---@return Barotrauma.WaterRenderer
_G['WaterRenderer'] = function() end
---`Constructor Public Instance`
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice):Barotrauma.WaterRenderer
---@return Barotrauma.WaterRenderer
_G['WaterRenderer'].__new = function() end
---`Constructor Private Static`
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice):Barotrauma.WaterRenderer
---@return Barotrauma.WaterRenderer
_G['WaterRenderer'] = function() end
---`Constructor Private Static`
---@overload fun(graphicsDevice:Microsoft.Xna.Framework.Graphics.GraphicsDevice):Barotrauma.WaterRenderer
---@return Barotrauma.WaterRenderer
_G['WaterRenderer'].__new = function() end

View File

@@ -0,0 +1,24 @@
---@meta
---@class Barotrauma.LuaSByte : System.ValueType
---`Field Public Instance`
---@field Value System.SByte
_G['SByte'] = {}
---`Method Public Instance Virtual`
---@return System.String
_G['SByte'].ToString = function() end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaSByte
---@param v System.String
---@param radix? System.Int32
---@return Barotrauma.LuaSByte
_G['SByte'] = function(v, radix) end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaSByte
---@param v System.String
---@param radix? System.Int32
---@return Barotrauma.LuaSByte
_G['SByte'].__new = function(v, radix) end

View File

@@ -0,0 +1,24 @@
---@meta
---@class Barotrauma.LuaByte : System.ValueType
---`Field Public Instance`
---@field Value System.Byte
_G['Byte'] = {}
---`Method Public Instance Virtual`
---@return System.String
_G['Byte'].ToString = function() end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaByte
---@param v System.String
---@param radix? System.Int32
---@return Barotrauma.LuaByte
_G['Byte'] = function(v, radix) end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaByte
---@param v System.String
---@param radix? System.Int32
---@return Barotrauma.LuaByte
_G['Byte'].__new = function(v, radix) end

View File

@@ -0,0 +1,25 @@
---@meta
---@class Barotrauma.LuaInt16 : System.ValueType
---`Field Public Instance`
---@field Value System.Int16
_G['Int16'] = {}
_G['Short'] = _G['Int16']
---`Method Public Instance Virtual`
---@return System.String
_G['Int16'].ToString = function() end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaInt16
---@param v System.String
---@param radix? System.Int32
---@return Barotrauma.LuaInt16
_G['Int16'] = function(v, radix) end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaInt16
---@param v System.String
---@param radix? System.Int32
---@return Barotrauma.LuaInt16
_G['Int16'].__new = function(v, radix) end

View File

@@ -0,0 +1,25 @@
---@meta
---@class Barotrauma.LuaUInt16 : System.ValueType
---`Field Public Instance`
---@field Value System.UInt16
_G['UInt16'] = {}
_G['UShort'] = _G['UInt16']
---`Method Public Instance Virtual`
---@return System.String
_G['UInt16'].ToString = function() end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaUInt16
---@param v System.String
---@param radix? System.Int32
---@return Barotrauma.LuaUInt16
_G['UInt16'] = function(v, radix) end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaUInt16
---@param v System.String
---@param radix? System.Int32
---@return Barotrauma.LuaUInt16
_G['UInt16'].__new = function(v, radix) end

View File

@@ -0,0 +1,24 @@
---@meta
---@class Barotrauma.LuaInt32 : System.ValueType
---`Field Public Instance`
---@field Value System.Int32
_G['Int32'] = {}
---`Method Public Instance Virtual`
---@return System.String
_G['Int32'].ToString = function() end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaInt32
---@param v System.String
---@param radix? System.Int32
---@return Barotrauma.LuaInt32
_G['Int32'] = function(v, radix) end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaInt32
---@param v System.String
---@param radix? System.Int32
---@return Barotrauma.LuaInt32
_G['Int32'].__new = function(v, radix) end

View File

@@ -0,0 +1,24 @@
---@meta
---@class Barotrauma.LuaUInt32 : System.ValueType
---`Field Public Instance`
---@field Value System.UInt32
_G['UInt32'] = {}
---`Method Public Instance Virtual`
---@return System.String
_G['UInt32'].ToString = function() end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaUInt32
---@param v System.String
---@param radix? System.Int32
---@return Barotrauma.LuaUInt32
_G['UInt32'] = function(v, radix) end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaUInt32
---@param v System.String
---@param radix? System.Int32
---@return Barotrauma.LuaUInt32
_G['UInt32'].__new = function(v, radix) end

View File

@@ -0,0 +1,26 @@
---@meta
---@class Barotrauma.LuaInt64 : System.ValueType
---`Field Public Instance`
---@field Value System.Int64
_G['Int64'] = {}
---`Method Public Instance Virtual`
---@return System.String
_G['Int64'].ToString = function() end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaInt64
---@overload fun(lo:System.Double, hi:System.Double):Barotrauma.LuaInt64
---@param v System.String
---@param radix? System.Int32
---@return Barotrauma.LuaInt64
_G['Int64'] = function(v, radix) end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaInt64
---@overload fun(lo:System.Double, hi:System.Double):Barotrauma.LuaInt64
---@param v System.String
---@param radix? System.Int32
---@return Barotrauma.LuaInt64
_G['Int64'].__new = function(v, radix) end

View File

@@ -0,0 +1,26 @@
---@meta
---@class Barotrauma.LuaUInt64 : System.ValueType
---`Field Public Instance`
---@field Value System.UInt64
_G['UInt64'] = {}
---`Method Public Instance Virtual`
---@return System.String
_G['UInt64'].ToString = function() end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaUInt64
---@overload fun(lo:System.Double, hi:System.Double):Barotrauma.LuaUInt64
---@param v System.String
---@param radix? System.Int32
---@return Barotrauma.LuaUInt64
_G['UInt64'] = function(v, radix) end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaUInt64
---@overload fun(lo:System.Double, hi:System.Double):Barotrauma.LuaUInt64
---@param v System.String
---@param radix? System.Int32
---@return Barotrauma.LuaUInt64
_G['UInt64'].__new = function(v, radix) end

View File

@@ -0,0 +1,23 @@
---@meta
---@class Barotrauma.LuaSingle : System.ValueType
---`Field Public Instance`
---@field Value System.Single
_G['Single'] = {}
_G['Float'] = _G['Single']
---`Method Public Instance Virtual`
---@return System.String
_G['Single'].ToString = function() end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaSingle
---@param v System.String
---@return Barotrauma.LuaSingle
_G['Single'] = function(v) end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaSingle
---@param v System.String
---@return Barotrauma.LuaSingle
_G['Single'].__new = function(v) end

View File

@@ -0,0 +1,22 @@
---@meta
---@class Barotrauma.LuaDouble : System.ValueType
---`Field Public Instance`
---@field Value System.Double
_G['Double'] = {}
---`Method Public Instance Virtual`
---@return System.String
_G['Double'].ToString = function() end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaDouble
---@param v System.String
---@return Barotrauma.LuaDouble
_G['Double'] = function(v) end
---`Constructor Public Instance`
---@overload fun(v:System.Double):Barotrauma.LuaDouble
---@param v System.String
---@return Barotrauma.LuaDouble
_G['Double'].__new = function(v) end

View File

@@ -0,0 +1,73 @@
---@meta
---@class Barotrauma.LuaCsLogger : System.Object
---`Field Private Static`
---@field overlayFrame Barotrauma.GUIFrame
---`Field Private Static`
---@field textBlock Barotrauma.GUITextBlock
---`Field Private Static`
---@field showTimer System.Double
---`Field Public Static`
---@field HideUserNames System.Boolean
---`Field Public Static`
---@field MessageLogger (Barotrauma.LuaCsMessageLogger)|(fun(message:System.String))
---`Field Public Static`
---@field ExceptionHandler (Barotrauma.LuaCsExceptionHandler)|(fun(ex:System.Exception, origin:Barotrauma.LuaCsMessageOrigin))
---`Field Private Static`
---@field LogPrefix System.String
_G['Logger'] = {}
---`Method Private Static`
---@param message System.String
_G['Logger'].CreateOverlay = function(message) end
---`Method Public Static`
_G['Logger'].AddToGUIUpdateList = function() end
---`Method Public Static`
---@param message System.String
---@param time? System.Single
---@param duration? System.Single
_G['Logger'].ShowErrorOverlay = function(message, time, duration) end
---`Method Public Static`
---@param ex System.Exception
---@param origin Barotrauma.LuaCsMessageOrigin
_G['Logger'].HandleException = function(ex, origin) end
---`Method Public Static`
---@overload fun(message:System.String, origin:Barotrauma.LuaCsMessageOrigin)
---@param message System.String
_G['Logger'].LogError = function(message) end
---`Method Public Static`
---@param message System.String
---@param serverColor? System.Nullable*1Microsoft*Xna*Framework*Color
---@param clientColor? System.Nullable*1Microsoft*Xna*Framework*Color
_G['Logger'].LogMessage = function(message, serverColor, clientColor) end
---`Method Public Static`
---@param message System.String
---@param color? System.Nullable*1Microsoft*Xna*Framework*Color
---@param messageType? Barotrauma.Networking.ServerLog.MessageType
_G['Logger'].Log = function(message, color, messageType) end
---`Constructor Public Instance`
---@overload fun():Barotrauma.LuaCsLogger
---@return Barotrauma.LuaCsLogger
_G['Logger'] = function() end
---`Constructor Public Instance`
---@overload fun():Barotrauma.LuaCsLogger
---@return Barotrauma.LuaCsLogger
_G['Logger'].__new = function() end
---`Constructor Private Static`
---@overload fun():Barotrauma.LuaCsLogger
---@return Barotrauma.LuaCsLogger
_G['Logger'] = function() end
---`Constructor Private Static`
---@overload fun():Barotrauma.LuaCsLogger
---@return Barotrauma.LuaCsLogger
_G['Logger'].__new = function() end

View File

@@ -0,0 +1,138 @@
---@meta
---@class Barotrauma.LuaUserData : System.Object
_G['LuaUserData'] = {}
---`Method Public Static`
---@param typeName System.String
---@return System.Type
_G['LuaUserData'].GetType = function(typeName) end
---`Method Public Static`
---@param typeName System.String
---@return MoonSharp.Interpreter.Interop.IUserDataDescriptor
_G['LuaUserData'].RegisterType = function(typeName) end
---`Method Public Static`
---@param typeName System.String
_G['LuaUserData'].RegisterExtensionType = function(typeName) end
---`Method Public Static`
---@param typeName System.String
---@return System.Boolean
_G['LuaUserData'].IsRegistered = function(typeName) end
---`Method Public Static`
---@param typeName System.String
---@param deleteHistory? System.Boolean
_G['LuaUserData'].UnregisterType = function(typeName, deleteHistory) end
---`Method Public Static`
---@param typeName System.String
---@param ... System.String
---@return MoonSharp.Interpreter.Interop.IUserDataDescriptor
_G['LuaUserData'].RegisterGenericType = function(typeName, ...) end
---`Method Public Static`
---@param typeName System.String
---@param ... System.String
_G['LuaUserData'].UnregisterGenericType = function(typeName, ...) end
---`Method Public Static`
---@param obj System.Object
---@param typeName System.String
---@return System.Boolean
_G['LuaUserData'].IsTargetType = function(obj, typeName) end
---`Method Public Static`
---@param obj System.Object
---@return System.String
_G['LuaUserData'].TypeOf = function(obj) end
---`Method Public Static`
---@param typeName System.String
---@return System.Object
_G['LuaUserData'].CreateStatic = function(typeName) end
---`Method Public Static`
---@param typeName System.String
---@return System.Object
_G['LuaUserData'].CreateEnumTable = function(typeName) end
---`Method Private Static`
---@param type System.Type
---@param fieldName System.String
---@return System.Reflection.FieldInfo
_G['LuaUserData'].FindFieldRecursively = function(type, fieldName) end
---`Method Public Static`
---@param IUUD MoonSharp.Interpreter.Interop.IUserDataDescriptor
---@param fieldName System.String
_G['LuaUserData'].MakeFieldAccessible = function(IUUD, fieldName) end
---`Method Private Static`
---@param type System.Type
---@param methodName System.String
---@param types? (System.Type-arr)|(System.Type[])
---@return System.Reflection.MethodInfo
_G['LuaUserData'].FindMethodRecursively = function(type, methodName, types) end
---`Method Public Static`
---@param IUUD MoonSharp.Interpreter.Interop.IUserDataDescriptor
---@param methodName System.String
---@param parameters? (System.String-arr)|(System.String[])
_G['LuaUserData'].MakeMethodAccessible = function(IUUD, methodName, parameters) end
---`Method Private Static`
---@param type System.Type
---@param propertyName System.String
---@return System.Reflection.PropertyInfo
_G['LuaUserData'].FindPropertyRecursively = function(type, propertyName) end
---`Method Public Static`
---@param IUUD MoonSharp.Interpreter.Interop.IUserDataDescriptor
---@param propertyName System.String
_G['LuaUserData'].MakePropertyAccessible = function(IUUD, propertyName) end
---`Method Public Static`
---@param IUUD MoonSharp.Interpreter.Interop.IUserDataDescriptor
---@param methodName System.String
---@param luaKey__function System.Object
_G['LuaUserData'].AddMethod = function(IUUD, methodName, luaKey__function) end
---`Method Public Static`
---@param IUUD MoonSharp.Interpreter.Interop.IUserDataDescriptor
---@param fieldName System.String
---@param value MoonSharp.Interpreter.DynValue
_G['LuaUserData'].AddField = function(IUUD, fieldName, value) end
---`Method Public Static`
---@param IUUD MoonSharp.Interpreter.Interop.IUserDataDescriptor
---@param memberName System.String
_G['LuaUserData'].RemoveMember = function(IUUD, memberName) end
---`Method Public Static`
---@param obj System.Object
---@param memberName System.String
---@return System.Boolean
_G['LuaUserData'].HasMember = function(obj, memberName) end
---`Method Public Static`
---@param scriptObject MoonSharp.Interpreter.DynValue
---@param desiredTypeDescriptor MoonSharp.Interpreter.Interop.IUserDataDescriptor
---@return MoonSharp.Interpreter.DynValue
_G['LuaUserData'].CreateUserDataFromDescriptor = function(scriptObject, desiredTypeDescriptor) end
---`Method Public Static`
---@param scriptObject MoonSharp.Interpreter.DynValue
---@param desiredType System.Type
---@return MoonSharp.Interpreter.DynValue
_G['LuaUserData'].CreateUserDataFromType = function(scriptObject, desiredType) end
---`Constructor Public Instance`
---@return Barotrauma.LuaUserData
_G['LuaUserData'] = function() end
---`Constructor Public Instance`
---@return Barotrauma.LuaUserData
_G['LuaUserData'].__new = function() end

View File

@@ -0,0 +1,259 @@
---@meta
---@class Barotrauma.LuaGame : System.Object
---`Field Public Instance`
---@field ForceVoice System.Nullable*1System*Boolean
---`Field Public Instance`
---@field ForceLocalVoice System.Nullable*1System*Boolean
---`Field Public Instance`
---@field Settings MoonSharp.Interpreter.DynValue
---`Field Public Instance`
---@field allowWifiChat System.Boolean
---`Field Public Instance`
---@field overrideTraitors System.Boolean
---`Field Public Instance`
---@field overrideRespawnSub System.Boolean
---`Field Public Instance`
---@field overrideSignalRadio System.Boolean
---`Field Public Instance`
---@field disableSpamFilter System.Boolean
---`Field Public Instance`
---@field disableDisconnectCharacter System.Boolean
---`Field Public Instance`
---@field enableControlHusk System.Boolean
---`Field Public Instance`
---@field UpdatePriorityItems (System.Collections.Generic.HashSet*1Barotrauma*Item)|(Barotrauma.Item[])
---`Field Public Instance`
---@field UpdatePriorityCharacters (System.Collections.Generic.HashSet*1Barotrauma*Character)|(Barotrauma.Character[])
---`Field Private Instance`
---@field luaAddedCommand (System.Collections.Generic.List*1Barotrauma*DebugConsole*Command)|(Barotrauma.DebugConsole.Command[])
---`Getter Public Instance`
---@field IsSingleplayer System.Boolean
---`Getter Public Instance`
---@field IsMultiplayer System.Boolean
---`Getter Public Instance`
---@field SaveFolder System.String
---`Getter Public Instance`
---@field Client Barotrauma.Networking.GameClient
---`Getter Public Instance`
---@field Paused System.Boolean
---`Getter Public Instance`
---@field SessionId System.Byte
---`Getter Public Instance`
---@field MyID System.Byte
---`Getter Public Instance`
---@field ActiveChatMode Barotrauma.ChatMode
---`Getter Public Instance`
---@field ChatBox Barotrauma.ChatBox
---`Getter Public Instance`
---@field SoundManager Barotrauma.Sounds.SoundManager
---`Getter Public Instance`
---@field LightManager Barotrauma.Lights.LightManager
---`Getter Public Instance`
---@field SubEditorScreen Barotrauma.SubEditorScreen
---`Getter Public Instance`
---@field MainMenuScreen Barotrauma.MainMenuScreen
---`Getter Public Instance`
---@field ParticleManager Barotrauma.Particles.ParticleManager
---`Getter Public Instance`
---@field IsSubEditor System.Boolean
---`Getter Public Instance`
---@field ServerSettings Barotrauma.Networking.ServerSettings
---`Getter Public Instance`
---@field RespawnManager Barotrauma.Networking.RespawnManager
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field MapEntityUpdateInterval System.Int32
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field GapUpdateInterval System.Int32
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field PoweredUpdateInterval System.Int32
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field CharacterUpdateInterval System.Int32
---`Getter Public Instance`
---@field RoundStarted System.Boolean
---`Getter Public Instance`
---@field GameSession Barotrauma.GameSession
---`Getter Public Instance`
---@field NetLobbyScreen Barotrauma.NetLobbyScreen
---`Getter Public Instance`
---@field GameScreen Barotrauma.GameScreen
---`Getter Public Instance`
---@field World FarseerPhysics.Dynamics.World
---`Getter Public Instance`
---@field Peer Barotrauma.Networking.ClientPeer
---`Getter Public Instance`
---@field LuaAddedCommand (System.Collections.Generic.IEnumerable*1Barotrauma*DebugConsole*Command)|(fun():(Barotrauma.DebugConsole.Command))
---`Getter Public Instance`
---@field Commands (System.Collections.Generic.List*1Barotrauma*DebugConsole*Command)|(Barotrauma.DebugConsole.Command[])
_G['Game'] = {}
---`Method Public Instance`
---@param item Barotrauma.Item
_G['Game'].AddPriorityItem = function(item) end
---`Method Public Instance`
---@param item Barotrauma.Item
_G['Game'].RemovePriorityItem = function(item) end
---`Method Public Instance`
_G['Game'].ClearPriorityItem = function() end
---`Method Public Instance`
---@param character Barotrauma.Character
_G['Game'].AddPriorityCharacter = function(character) end
---`Method Public Instance`
---@param character Barotrauma.Character
_G['Game'].RemovePriorityCharacter = function(character) end
---`Method Public Instance`
_G['Game'].ClearPriorityCharacter = function() end
---`Method Public Instance`
---@param o System.Boolean
_G['Game'].OverrideTraitors = function(o) end
---`Method Public Instance`
---@param o System.Boolean
_G['Game'].OverrideRespawnSub = function(o) end
---`Method Public Instance`
---@param o System.Boolean
_G['Game'].AllowWifiChat = function(o) end
---`Method Public Instance`
---@param o System.Boolean
_G['Game'].OverrideSignalRadio = function(o) end
---`Method Public Instance`
---@param o System.Boolean
_G['Game'].DisableSpamFilter = function(o) end
---`Method Public Instance`
---@param o System.Boolean
_G['Game'].DisableDisconnectCharacter = function(o) end
---`Method Public Instance`
---@param o System.Boolean
_G['Game'].EnableControlHusk = function(o) end
---`Method Public Static`
---@param pos Microsoft.Xna.Framework.Vector2
---@param range? System.Single
---@param force? System.Single
---@param damage? System.Single
---@param structureDamage? System.Single
---@param itemDamage? System.Single
---@param empStrength? System.Single
---@param ballastFloraStrength? System.Single
_G['Game'].Explode = function(pos, range, force, damage, structureDamage, itemDamage, empStrength, ballastFloraStrength) end
---`Method Public Static`
---@param name System.String
---@param pos Microsoft.Xna.Framework.Vector2
---@param inventory? System.Boolean
---@param character? Barotrauma.Character
---@return System.String
_G['Game'].SpawnItem = function(name, pos, inventory, character) end
---`Method Public Static`
---@return (Barotrauma.ContentPackage-arr)|(Barotrauma.ContentPackage[])
_G['Game'].GetEnabledContentPackages = function() end
---`Method Public Static`
---@param itemNameOrId System.String
---@return Barotrauma.ItemPrefab
_G['Game'].GetItemPrefab = function(itemNameOrId) end
---`Method Public Static`
---@return Barotrauma.Submarine
_G['Game'].GetRespawnSub = function() end
---`Method Public Static`
---@param sub Barotrauma.Submarine
---@return Barotrauma.Items.Components.Steering
_G['Game'].GetSubmarineSteering = function(sub) end
---`Method Public Static`
---@param item Barotrauma.Item
---@return Barotrauma.Items.Components.WifiComponent
_G['Game'].GetWifiComponent = function(item) end
---`Method Public Static`
---@param item Barotrauma.Item
---@return Barotrauma.Items.Components.LightComponent
_G['Game'].GetLightComponent = function(item) end
---`Method Public Static`
---@param item Barotrauma.Item
---@return Barotrauma.Items.Components.CustomInterface
_G['Game'].GetCustomInterface = function(item) end
---`Method Public Static`
---@param item Barotrauma.Item
---@return Barotrauma.Items.Components.Fabricator
_G['Game'].GetFabricatorComponent = function(item) end
---`Method Public Static`
---@param item Barotrauma.Item
---@return Barotrauma.Items.Components.Holdable
_G['Game'].GetHoldableComponent = function(item) end
---`Method Public Static`
---@param command System.String
_G['Game'].ExecuteCommand = function(command) end
---`Method Public Static`
---@param value System.String
---@param stepsTaken? System.Int32
---@param sender? Barotrauma.Character
---@param source? Barotrauma.Item
---@param power? System.Single
---@param strength? System.Single
---@return Barotrauma.Items.Components.Signal
_G['Game'].CreateSignal = function(value, stepsTaken, sender, source, power, strength) end
---`Method Public Instance`
---@param command Barotrauma.Identifier
---@return System.Boolean
_G['Game'].IsCustomCommandPermitted = function(command) end
---`Method Public Instance`
---@param name System.String
_G['Game'].RemoveCommand = function(name) end
---`Method Public Instance`
---@param name System.String
---@param help System.String
---@param onExecute (Barotrauma.LuaCsAction)|(fun(...:System.Object))
---@param getValidArgs? (Barotrauma.LuaCsFunc)|(fun(...:System.Object):(System.Object))
---@param isCheat? System.Boolean
_G['Game'].AddCommand = function(name, help, onExecute, getValidArgs, isCheat) end
---`Method Public Instance`
---@param names System.String
---@param onExecute System.Object
_G['Game'].AssignOnExecute = function(names, onExecute) end
---`Method Public Instance`
---@param path System.String
_G['Game'].SaveGame = function(path) end
---`Method Public Instance`
---@param path System.String
_G['Game'].LoadGame = function(path) end
---`Method Public Instance`
_G['Game'].Stop = function() end
---`Constructor Public Instance`
---@return Barotrauma.LuaGame
_G['Game'] = function() end
---`Constructor Public Instance`
---@return Barotrauma.LuaGame
_G['Game'].__new = function() end

View File

@@ -0,0 +1,35 @@
---@meta
---@class Barotrauma.LuaCsPatch : System.MulticastDelegate
_G['LuaCsPatch'] = {}
---`Method Public Instance Virtual`
---@param self System.Object
---@param args (System.Collections.Generic.Dictionary*1System*String*1System*Object)|({[System.String]:(System.Object)})
---@return System.Object
_G['LuaCsPatch'].Invoke = function(self, args) end
---`Method Public Instance Virtual`
---@param self System.Object
---@param args (System.Collections.Generic.Dictionary*1System*String*1System*Object)|({[System.String]:(System.Object)})
---@param callback (System.AsyncCallback)|(fun(ar:System.IAsyncResult))
---@param object System.Object
---@return System.IAsyncResult
_G['LuaCsPatch'].BeginInvoke = function(self, args, callback, object) end
---`Method Public Instance Virtual`
---@param result System.IAsyncResult
---@return System.Object
_G['LuaCsPatch'].EndInvoke = function(result) end
---`Constructor Public Instance`
---@param object System.Object
---@param method System.IntPtr
---@return Barotrauma.LuaCsPatch
_G['LuaCsPatch'] = function(object, method) end
---`Constructor Public Instance`
---@param object System.Object
---@param method System.IntPtr
---@return Barotrauma.LuaCsPatch
_G['LuaCsPatch'].__new = function(object, method) end

View File

@@ -0,0 +1,31 @@
---@meta
---@class Barotrauma.LuaCsAction : System.MulticastDelegate
_G['LuaCsAction'] = {}
---`Method Public Instance Virtual`
---@param ... System.Object
_G['LuaCsAction'].Invoke = function(...) end
---`Method Public Instance Virtual`
---@param args (System.Object-arr)|(System.Object[])
---@param callback (System.AsyncCallback)|(fun(ar:System.IAsyncResult))
---@param object System.Object
---@return System.IAsyncResult
_G['LuaCsAction'].BeginInvoke = function(args, callback, object) end
---`Method Public Instance Virtual`
---@param result System.IAsyncResult
_G['LuaCsAction'].EndInvoke = function(result) end
---`Constructor Public Instance`
---@param object System.Object
---@param method System.IntPtr
---@return Barotrauma.LuaCsAction
_G['LuaCsAction'] = function(object, method) end
---`Constructor Public Instance`
---@param object System.Object
---@param method System.IntPtr
---@return Barotrauma.LuaCsAction
_G['LuaCsAction'].__new = function(object, method) end

View File

@@ -0,0 +1,33 @@
---@meta
---@class Barotrauma.LuaCsFunc : System.MulticastDelegate
_G['LuaCsFunc'] = {}
---`Method Public Instance Virtual`
---@param ... System.Object
---@return System.Object
_G['LuaCsFunc'].Invoke = function(...) end
---`Method Public Instance Virtual`
---@param args (System.Object-arr)|(System.Object[])
---@param callback (System.AsyncCallback)|(fun(ar:System.IAsyncResult))
---@param object System.Object
---@return System.IAsyncResult
_G['LuaCsFunc'].BeginInvoke = function(args, callback, object) end
---`Method Public Instance Virtual`
---@param result System.IAsyncResult
---@return System.Object
_G['LuaCsFunc'].EndInvoke = function(result) end
---`Constructor Public Instance`
---@param object System.Object
---@param method System.IntPtr
---@return Barotrauma.LuaCsFunc
_G['LuaCsFunc'] = function(object, method) end
---`Constructor Public Instance`
---@param object System.Object
---@param method System.IntPtr
---@return Barotrauma.LuaCsFunc
_G['LuaCsFunc'].__new = function(object, method) end

View File

@@ -0,0 +1,35 @@
---@meta
---@class Barotrauma.LuaCsPatchFunc : System.MulticastDelegate
_G['LuaCsPatchFunc'] = {}
---`Method Public Instance Virtual`
---@param instance System.Object
---@param ptable Barotrauma.LuaCsHook.ParameterTable
---@return MoonSharp.Interpreter.DynValue
_G['LuaCsPatchFunc'].Invoke = function(instance, ptable) end
---`Method Public Instance Virtual`
---@param instance System.Object
---@param ptable Barotrauma.LuaCsHook.ParameterTable
---@param callback (System.AsyncCallback)|(fun(ar:System.IAsyncResult))
---@param object System.Object
---@return System.IAsyncResult
_G['LuaCsPatchFunc'].BeginInvoke = function(instance, ptable, callback, object) end
---`Method Public Instance Virtual`
---@param result System.IAsyncResult
---@return MoonSharp.Interpreter.DynValue
_G['LuaCsPatchFunc'].EndInvoke = function(result) end
---`Constructor Public Instance`
---@param object System.Object
---@param method System.IntPtr
---@return Barotrauma.LuaCsPatchFunc
_G['LuaCsPatchFunc'] = function(object, method) end
---`Constructor Public Instance`
---@param object System.Object
---@param method System.IntPtr
---@return Barotrauma.LuaCsPatchFunc
_G['LuaCsPatchFunc'].__new = function(object, method) end

View File

@@ -0,0 +1,219 @@
---@meta
---@class Barotrauma.LuaCsHook : System.Object
---`Field Private Instance`
---@field harmony HarmonyLib.Harmony
---`Field Private Instance`
---@field patchModuleBuilder System.Lazy*1System*Reflection*Emit*ModuleBuilder
---`Field Private Instance`
---@field hookFunctions (System.Collections.Generic.Dictionary*1System*String*1System*Collections*Generic*Dictionary*2System*String*2System*ValueTuple*3Barotrauma*LuaCsHook*LuaCsHookCallback*3Barotrauma*ACsMod)|({[System.String]:((System.Collections.Generic.Dictionary*1System*String*1System*ValueTuple*2Barotrauma*LuaCsHook*LuaCsHookCallback*2Barotrauma*ACsMod)|({[System.String]:(System.ValueTuple*1Barotrauma*LuaCsHook*LuaCsHookCallback*1Barotrauma*ACsMod)}))})
---`Field Private Instance`
---@field registeredPatches (System.Collections.Generic.Dictionary*1Barotrauma*LuaCsHook*MethodKey*1Barotrauma*LuaCsHook*PatchedMethod)|({[Barotrauma.LuaCsHook.MethodKey]:(Barotrauma.LuaCsHook.PatchedMethod)})
---`Field Private Instance`
---@field luaCs Barotrauma.LuaCsSetup
---`Field Private Instance`
---@field performanceMeasurement System.Diagnostics.Stopwatch
---`Field Private Instance`
---@field compatHookPrefixMethods (System.Collections.Generic.Dictionary*1System*Int64*1System*Collections*Generic*HashSet*2System*ValueTuple*3System*String*3Barotrauma*LuaCsPatch*3Barotrauma*ACsMod)|({[System.Int64]:((System.Collections.Generic.HashSet*1System*ValueTuple*2System*String*2Barotrauma*LuaCsPatch*2Barotrauma*ACsMod)|(System.ValueTuple*1System*String*1Barotrauma*LuaCsPatch*1Barotrauma*ACsMod[]))})
---`Field Private Instance`
---@field compatHookPostfixMethods (System.Collections.Generic.Dictionary*1System*Int64*1System*Collections*Generic*HashSet*2System*ValueTuple*3System*String*3Barotrauma*LuaCsPatch*3Barotrauma*ACsMod)|({[System.Int64]:((System.Collections.Generic.HashSet*1System*ValueTuple*2System*String*2Barotrauma*LuaCsPatch*2Barotrauma*ACsMod)|(System.ValueTuple*1System*String*1Barotrauma*LuaCsPatch*1Barotrauma*ACsMod[]))})
---`Field Private Static`
---@field prohibitedHooks (System.String-arr)|(System.String[])
---`Field Private Static`
---@field instance Barotrauma.LuaCsHook
---`Field Private Static`
---@field InvalidIdentifierCharsRegex System.Text.RegularExpressions.Regex
---`Field Private Static`
---@field _miHookLuaCsPatchPrefix System.Reflection.MethodInfo
---`Field Private Static`
---@field _miHookLuaCsPatchPostfix System.Reflection.MethodInfo
---`Field Private Static`
---@field _miHookLuaCsPatchRetPrefix System.Reflection.MethodInfo
---`Field Private Static`
---@field _miHookLuaCsPatchRetPostfix System.Reflection.MethodInfo
---`Field Private Static`
---@field FIELD_LUACS System.String
_G['Hook'] = {}
---`Method Private Static`
---@param method System.Reflection.MethodBase
_G['Hook'].ValidatePatchTarget = function(method) end
---`Method Private Static`
---@param identifier System.String
---@return System.String
_G['Hook'].NormalizeIdentifier = function(identifier) end
---`Method Public Instance`
_G['Hook'].Initialize = function() end
---`Method Private Instance`
---@return System.Reflection.Emit.ModuleBuilder
_G['Hook'].CreateModuleBuilder = function() end
---`Method Public Instance`
---@overload fun(name:System.String, func:(Barotrauma.LuaCsFunc)|(fun(...:System.Object):(System.Object)), owner?:Barotrauma.ACsMod)
---@param name System.String
---@param identifier System.String
---@param func (Barotrauma.LuaCsFunc)|(fun(...:System.Object):(System.Object))
---@param owner? Barotrauma.ACsMod
_G['Hook'].Add = function(name, identifier, func, owner) end
---`Method Public Instance`
---@param name System.String
---@param identifier System.String
---@return System.Boolean
_G['Hook'].Exists = function(name, identifier) end
---`Method Public Instance`
---@param name System.String
---@param identifier System.String
_G['Hook'].Remove = function(name, identifier) end
---`Method Public Instance`
_G['Hook'].Clear = function() end
---`Method Public Instance`
---@overload fun(name:System.String, ...:System.Object):(Barotrauma.LuaCsHook.T)
---@param name System.String
---@param ... System.Object
---@return System.Object
_G['Hook'].Call = function(name, ...) end
---`Method Private Static`
---@param className System.String
---@param methodName System.String
---@param parameters (System.String-arr)|(System.String[])
---@return System.Reflection.MethodBase
_G['Hook'].ResolveMethod = function(className, methodName, parameters) end
---`Method Private Instance`
---@param identifier System.String
---@param original System.Reflection.MethodBase
---@param hookType Barotrauma.LuaCsHook.HookMethodType
---@return System.Reflection.MethodInfo
_G['Hook'].CreateDynamicHarmonyPatch = function(identifier, original, hookType) end
---`Method Private Instance`
---@param identifier System.String
---@param method System.Reflection.MethodBase
---@param patch (Barotrauma.LuaCsPatchFunc)|(fun(instance:System.Object, ptable:Barotrauma.LuaCsHook.ParameterTable):(MoonSharp.Interpreter.DynValue))
---@param hookType? Barotrauma.LuaCsHook.HookMethodType
---@return System.String
_G['Hook'].Patch = function(identifier, method, patch, hookType) end
---`Method Public Instance`
---@overload fun(identifier:System.String, className:System.String, methodName:System.String, parameterTypes:(System.String-arr)|(System.String[]), patch:(Barotrauma.LuaCsPatchFunc)|(fun(instance:System.Object, ptable:Barotrauma.LuaCsHook.ParameterTable):(MoonSharp.Interpreter.DynValue)), hookType?:Barotrauma.LuaCsHook.HookMethodType):(System.String)
---@overload fun(identifier:System.String, className:System.String, methodName:System.String, patch:(Barotrauma.LuaCsPatchFunc)|(fun(instance:System.Object, ptable:Barotrauma.LuaCsHook.ParameterTable):(MoonSharp.Interpreter.DynValue)), hookType?:Barotrauma.LuaCsHook.HookMethodType):(System.String)
---@overload fun(className:System.String, methodName:System.String, parameterTypes:(System.String-arr)|(System.String[]), patch:(Barotrauma.LuaCsPatchFunc)|(fun(instance:System.Object, ptable:Barotrauma.LuaCsHook.ParameterTable):(MoonSharp.Interpreter.DynValue)), hookType?:Barotrauma.LuaCsHook.HookMethodType):(System.String)
---@param className System.String
---@param methodName System.String
---@param patch (Barotrauma.LuaCsPatchFunc)|(fun(instance:System.Object, ptable:Barotrauma.LuaCsHook.ParameterTable):(MoonSharp.Interpreter.DynValue))
---@param hookType? Barotrauma.LuaCsHook.HookMethodType
---@return System.String
_G['Hook'].Patch = function(className, methodName, patch, hookType) end
---`Method Private Instance`
---@param identifier System.String
---@param method System.Reflection.MethodBase
---@param hookType Barotrauma.LuaCsHook.HookMethodType
---@return System.Boolean
_G['Hook'].RemovePatch = function(identifier, method, hookType) end
---`Method Public Instance`
---@overload fun(identifier:System.String, className:System.String, methodName:System.String, parameterTypes:(System.String-arr)|(System.String[]), hookType:Barotrauma.LuaCsHook.HookMethodType):(System.Boolean)
---@param identifier System.String
---@param className System.String
---@param methodName System.String
---@param hookType Barotrauma.LuaCsHook.HookMethodType
---@return System.Boolean
_G['Hook'].RemovePatch = function(identifier, className, methodName, hookType) end
---`Method Private Static`
---@param __originalMethod System.Reflection.MethodBase
---@param __args (System.Object-arr)|(System.Object[])
---@param __instance System.Object
---@param result System.Object-ref
---@param hookType Barotrauma.LuaCsHook.HookMethodType
_G['Hook']._hookLuaCsPatch = function(__originalMethod, __args, __instance, result, hookType) end
---`Method Private Static`
---@param __originalMethod System.Reflection.MethodBase
---@param __args (System.Object-arr)|(System.Object[])
---@param __instance System.Object
---@return System.Boolean
_G['Hook'].HookLuaCsPatchPrefix = function(__originalMethod, __args, __instance) end
---`Method Private Static`
---@param __originalMethod System.Reflection.MethodBase
---@param __args (System.Object-arr)|(System.Object[])
---@param __instance System.Object
_G['Hook'].HookLuaCsPatchPostfix = function(__originalMethod, __args, __instance) end
---`Method Private Static`
---@param __originalMethod System.Reflection.MethodBase
---@param __args (System.Object-arr)|(System.Object[])
---@param __result System.Object-ref
---@param __instance System.Object
---@return System.Boolean
_G['Hook'].HookLuaCsPatchRetPrefix = function(__originalMethod, __args, __result, __instance) end
---`Method Private Static`
---@param __originalMethod System.Reflection.MethodBase
---@param __args (System.Object-arr)|(System.Object[])
---@param __result System.Object-ref
---@param __instance System.Object
_G['Hook'].HookLuaCsPatchRetPostfix = function(__originalMethod, __args, __result, __instance) end
---`Method Public Instance`
---@param identifier System.String
---@param method System.Reflection.MethodBase
---@param patch (Barotrauma.LuaCsPatch)|(fun(self:System.Object, args:(System.Collections.Generic.Dictionary*1System*String*1System*Object)|({[System.String]:(System.Object)})):(System.Object))
---@param hookType? Barotrauma.LuaCsHook.HookMethodType
---@param owner? Barotrauma.ACsMod
_G['Hook'].HookMethod = function(identifier, method, patch, hookType, owner) end
---`Method NonPublic Instance`
---@overload fun(identifier:System.String, className:System.String, methodName:System.String, parameterNames:(System.String-arr)|(System.String[]), patch:(Barotrauma.LuaCsPatch)|(fun(self:System.Object, args:(System.Collections.Generic.Dictionary*1System*String*1System*Object)|({[System.String]:(System.Object)})):(System.Object)), hookMethodType?:Barotrauma.LuaCsHook.HookMethodType)
---@overload fun(identifier:System.String, className:System.String, methodName:System.String, patch:(Barotrauma.LuaCsPatch)|(fun(self:System.Object, args:(System.Collections.Generic.Dictionary*1System*String*1System*Object)|({[System.String]:(System.Object)})):(System.Object)), hookMethodType?:Barotrauma.LuaCsHook.HookMethodType)
---@overload fun(className:System.String, methodName:System.String, patch:(Barotrauma.LuaCsPatch)|(fun(self:System.Object, args:(System.Collections.Generic.Dictionary*1System*String*1System*Object)|({[System.String]:(System.Object)})):(System.Object)), hookMethodType?:Barotrauma.LuaCsHook.HookMethodType)
---@param className System.String
---@param methodName System.String
---@param parameterNames (System.String-arr)|(System.String[])
---@param patch (Barotrauma.LuaCsPatch)|(fun(self:System.Object, args:(System.Collections.Generic.Dictionary*1System*String*1System*Object)|({[System.String]:(System.Object)})):(System.Object))
---@param hookMethodType? Barotrauma.LuaCsHook.HookMethodType
_G['Hook'].HookMethod = function(className, methodName, parameterNames, patch, hookMethodType) end
---`Method Public Instance`
---@param identifier System.String
---@param method System.Reflection.MethodBase
---@param hookType? Barotrauma.LuaCsHook.HookMethodType
_G['Hook'].UnhookMethod = function(identifier, method, hookType) end
---`Method NonPublic Instance`
---@param identifier System.String
---@param className System.String
---@param methodName System.String
---@param parameterNames (System.String-arr)|(System.String[])
---@param hookType? Barotrauma.LuaCsHook.HookMethodType
_G['Hook'].UnhookMethod = function(identifier, className, methodName, parameterNames, hookType) end
---`Constructor NonPublic Instance`
---@overload fun(luaCs:Barotrauma.LuaCsSetup):Barotrauma.LuaCsHook
---@return Barotrauma.LuaCsHook
_G['Hook'] = function() end
---`Constructor NonPublic Instance`
---@overload fun(luaCs:Barotrauma.LuaCsSetup):Barotrauma.LuaCsHook
---@return Barotrauma.LuaCsHook
_G['Hook'].__new = function() end
---`Constructor Private Static`
---@overload fun(luaCs:Barotrauma.LuaCsSetup):Barotrauma.LuaCsHook
---@return Barotrauma.LuaCsHook
_G['Hook'] = function() end
---`Constructor Private Static`
---@overload fun(luaCs:Barotrauma.LuaCsSetup):Barotrauma.LuaCsHook
---@return Barotrauma.LuaCsHook
_G['Hook'].__new = function() end

View File

@@ -0,0 +1,8 @@
---@meta
---@class Barotrauma.LuaCsHook.HookMethodType : System.Enum
---`Field Public Static`
---@field Before Barotrauma.LuaCsHook.HookMethodType
---`Field Public Static`
---@field After Barotrauma.LuaCsHook.HookMethodType
_G['Hook']['HookMethodType'] = {}

View File

@@ -0,0 +1,33 @@
---@meta
---@class Barotrauma.LuaCsHook.ParameterTable : System.Object, {[System.String]:System.Object}
---`Field Private Instance`
---@field parameters (System.Collections.Generic.Dictionary*1System*String*1System*Object)|({[System.String]:(System.Object)})
---`Field Private Instance`
---@field returnValueModified System.Boolean
---`Field Private Instance`
---@field returnValue System.Object
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field OriginalReturnValue System.Object
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field ReturnValue System.Object
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field PreventExecution System.Boolean
---`Getter Public Instance`
---@field OriginalParameters (System.Collections.Generic.Dictionary*1System*String*1System*Object)|({[System.String]:(System.Object)})
---`Getter Public Instance`
---@field ModifiedParameters (System.Collections.Generic.Dictionary*1System*String*1System*Object)|({[System.String]:(System.Object)})
_G['Hook']['ParameterTable'] = {}
---`Constructor Public Instance`
---@param dict (System.Collections.Generic.Dictionary*1System*String*1System*Object)|({[System.String]:(System.Object)})
---@return Barotrauma.LuaCsHook.ParameterTable
_G['Hook']['ParameterTable'] = function(dict) end
---`Constructor Public Instance`
---@param dict (System.Collections.Generic.Dictionary*1System*String*1System*Object)|({[System.String]:(System.Object)})
---@return Barotrauma.LuaCsHook.ParameterTable
_G['Hook']['ParameterTable'].__new = function(dict) end

View File

@@ -0,0 +1,42 @@
---@meta
---@class Barotrauma.LuaCsTimer : System.Object
---`Field Private Instance`
---@field timedActions (System.Collections.Generic.List*1Barotrauma*LuaCsTimer*TimedAction)|(Barotrauma.LuaCsTimer.TimedAction[])
---`Getter Public Static`
---@field Time System.Double
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field AccumulatorMax System.Double
_G['Timer'] = {}
---`Method Public Static`
---@return System.Double
_G['Timer'].GetTime = function() end
---`Method Private Instance`
---@param timedAction Barotrauma.LuaCsTimer.TimedAction
_G['Timer'].AddTimer = function(timedAction) end
---`Method Public Instance`
_G['Timer'].Update = function() end
---`Method Public Instance`
_G['Timer'].Clear = function() end
---`Method Public Instance`
---@param action (Barotrauma.LuaCsAction)|(fun(...:System.Object))
---@param millisecondDelay System.Int32
_G['Timer'].Wait = function(action, millisecondDelay) end
---`Method Public Instance`
---@param action (Barotrauma.LuaCsAction)|(fun(...:System.Object))
_G['Timer'].NextFrame = function(action) end
---`Constructor Public Instance`
---@return Barotrauma.LuaCsTimer
_G['Timer'] = function() end
---`Constructor Public Instance`
---@return Barotrauma.LuaCsTimer
_G['Timer'].__new = function() end

View File

@@ -0,0 +1,104 @@
---@meta
---@class Barotrauma.LuaCsFile : System.Object
_G['File'] = {}
---`Method Public Static`
---@param path System.String
---@return System.Boolean
_G['File'].CanReadFromPath = function(path) end
---`Method Public Static`
---@param path System.String
---@return System.Boolean
_G['File'].CanWriteToPath = function(path) end
---`Method Public Static`
---@param path System.String
---@param write? System.Boolean
---@param origin? Barotrauma.LuaCsMessageOrigin
---@return System.Boolean
_G['File'].IsPathAllowedException = function(path, write, origin) end
---`Method Public Static`
---@param path System.String
---@param write? System.Boolean
---@return System.Boolean
_G['File'].IsPathAllowedLuaException = function(path, write) end
---`Method Public Static`
---@param path System.String
---@param write? System.Boolean
---@return System.Boolean
_G['File'].IsPathAllowedCsException = function(path, write) end
---`Method Public Static`
---@param path System.String
---@return System.String
_G['File'].Read = function(path) end
---`Method Public Static`
---@param path System.String
---@param text System.String
_G['File'].Write = function(path, text) end
---`Method Public Static`
---@param path System.String
_G['File'].Delete = function(path) end
---`Method Public Static`
---@param path System.String
_G['File'].DeleteDirectory = function(path) end
---`Method Public Static`
---@param path System.String
---@param destination System.String
_G['File'].Move = function(path, destination) end
---`Method Public Static`
---@param path System.String
---@return System.IO.FileStream
_G['File'].OpenRead = function(path) end
---`Method Public Static`
---@param path System.String
---@return System.IO.FileStream
_G['File'].OpenWrite = function(path) end
---`Method Public Static`
---@param path System.String
---@return System.Boolean
_G['File'].Exists = function(path) end
---`Method Public Static`
---@param path System.String
---@return System.Boolean
_G['File'].CreateDirectory = function(path) end
---`Method Public Static`
---@param path System.String
---@return System.Boolean
_G['File'].DirectoryExists = function(path) end
---`Method Public Static`
---@param path System.String
---@return (System.String-arr)|(System.String[])
_G['File'].GetFiles = function(path) end
---`Method Public Static`
---@param path System.String
---@return (System.String-arr)|(System.String[])
_G['File'].GetDirectories = function(path) end
---`Method Public Static`
---@param sDir System.String
---@return (System.String-arr)|(System.String[])
_G['File'].DirSearch = function(sDir) end
---`Constructor Public Instance`
---@return Barotrauma.LuaCsFile
_G['File'] = function() end
---`Constructor Public Instance`
---@return Barotrauma.LuaCsFile
_G['File'].__new = function() end

View File

@@ -0,0 +1,135 @@
---@meta
---@class Barotrauma.LuaCsNetworking : System.Object
---`Field Private Instance`
---@field receiveQueue (System.Collections.Generic.Dictionary*1System*UInt16*1System*Collections*Generic*Queue*2Barotrauma*Networking*IReadMessage)|({[System.UInt16]:((System.Collections.Generic.Queue*1Barotrauma*Networking*IReadMessage)|(fun():(Barotrauma.Networking.IReadMessage)))})
---`Field Public Instance`
---@field RestrictMessageSize System.Boolean
---`Field Private Instance`
---@field netReceives (System.Collections.Generic.Dictionary*1System*String*1Barotrauma*LuaCsAction)|({[System.String]:((Barotrauma.LuaCsAction)|(fun(...:System.Object)))})
---`Field Private Instance`
---@field idToString (System.Collections.Generic.Dictionary*1System*UInt16*1System*String)|({[System.UInt16]:(System.String)})
---`Field Private Instance`
---@field stringToId (System.Collections.Generic.Dictionary*1System*String*1System*UInt16)|({[System.String]:(System.UInt16)})
---`Field Private Static`
---@field client System.Net.Http.HttpClient
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field LastClientListUpdateID System.UInt16
_G['Networking'] = {}
---`Method Public Instance`
_G['Networking'].SendSyncMessage = function() end
---`Method Public Instance`
---@param netMessage Barotrauma.Networking.IReadMessage
---@param header Barotrauma.Networking.ServerPacketHeader
---@param client? Barotrauma.Networking.Client
_G['Networking'].NetMessageReceived = function(netMessage, header, client) end
---`Method Public Instance`
---@overload fun(netMessageName:System.String):(Barotrauma.Networking.IWriteMessage)
---@return Barotrauma.Networking.IWriteMessage
_G['Networking'].Start = function() end
---`Method Public Instance`
---@param netMessageName System.String
---@param callback (Barotrauma.LuaCsAction)|(fun(...:System.Object))
_G['Networking'].Receive = function(netMessageName, callback) end
---`Method Public Instance`
---@param netMessageName System.String
_G['Networking'].RequestId = function(netMessageName) end
---`Method Public Instance`
---@param netMessage Barotrauma.Networking.IWriteMessage
---@param deliveryMethod? Barotrauma.Networking.DeliveryMethod
_G['Networking'].Send = function(netMessage, deliveryMethod) end
---`Method Private Instance`
---@param netMessage Barotrauma.Networking.IReadMessage
---@param client? Barotrauma.Networking.Client
_G['Networking'].HandleNetMessageId = function(netMessage, client) end
---`Method Private Instance`
---@param netMessage Barotrauma.Networking.IReadMessage
_G['Networking'].ReadIds = function(netMessage) end
---`Method Public Instance`
_G['Networking'].Initialize = function() end
---`Method Public Instance`
---@param netMessageName System.String
_G['Networking'].Remove = function(netMessageName) end
---`Method Public Instance`
---@param id System.UInt16
---@return System.String
_G['Networking'].IdToString = function(id) end
---`Method Public Instance`
---@param name System.String
---@return System.UInt16
_G['Networking'].StringToId = function(name) end
---`Method Private Instance`
---@param netMessage Barotrauma.Networking.IReadMessage
---@param name System.String
---@param client? Barotrauma.Networking.Client
_G['Networking'].HandleNetMessage = function(netMessage, name, client) end
---`Method Private Instance`
---@param netMessage Barotrauma.Networking.IReadMessage
---@param client? Barotrauma.Networking.Client
_G['Networking'].HandleNetMessageString = function(netMessage, client) end
---`Method Public Instance`
---@param url System.String
---@param callback (Barotrauma.LuaCsAction)|(fun(...:System.Object))
---@param data? System.String
---@param method? System.String
---@param contentType? System.String
---@param headers? (System.Collections.Generic.Dictionary*1System*String*1System*String)|({[System.String]:(System.String)})
---@param savePath? System.String
_G['Networking'].HttpRequest = function(url, callback, data, method, contentType, headers, savePath) end
---`Method Public Instance`
---@param url System.String
---@param callback (Barotrauma.LuaCsAction)|(fun(...:System.Object))
---@param data System.String
---@param contentType? System.String
---@param headers? (System.Collections.Generic.Dictionary*1System*String*1System*String)|({[System.String]:(System.String)})
---@param savePath? System.String
_G['Networking'].HttpPost = function(url, callback, data, contentType, headers, savePath) end
---`Method Public Instance`
---@param url System.String
---@param callback (Barotrauma.LuaCsAction)|(fun(...:System.Object))
---@param headers? (System.Collections.Generic.Dictionary*1System*String*1System*String)|({[System.String]:(System.String)})
---@param savePath? System.String
_G['Networking'].HttpGet = function(url, callback, headers, savePath) end
---`Method Public Instance`
---@param entity Barotrauma.Networking.INetSerializable
---@param extraData Barotrauma.Networking.NetEntityEvent.IData
_G['Networking'].CreateEntityEvent = function(entity, extraData) end
---`Constructor Public Instance`
---@overload fun():Barotrauma.LuaCsNetworking
---@return Barotrauma.LuaCsNetworking
_G['Networking'] = function() end
---`Constructor Public Instance`
---@overload fun():Barotrauma.LuaCsNetworking
---@return Barotrauma.LuaCsNetworking
_G['Networking'].__new = function() end
---`Constructor Private Static`
---@overload fun():Barotrauma.LuaCsNetworking
---@return Barotrauma.LuaCsNetworking
_G['Networking'] = function() end
---`Constructor Private Static`
---@overload fun():Barotrauma.LuaCsNetworking
---@return Barotrauma.LuaCsNetworking
_G['Networking'].__new = function() end

View File

@@ -0,0 +1,43 @@
---@meta
---@class Barotrauma.LuaCsSteam : System.Object
---`Field Private Instance`
---@field lastTimeChecked System.Double
---`Field Private Instance`
---@field itemsBeingDownloaded (System.Collections.Generic.List*1Barotrauma*LuaCsSteam*WorkshopItemDownload)|(Barotrauma.LuaCsSteam.WorkshopItemDownload[])
_G['Steam'] = {}
---`Method Private Static`
---@param sourceDirName System.String
---@param destDirName System.String
---@param copySubDirs System.Boolean
---@param overwriteExisting? System.Boolean
_G['Steam'].CopyFolder = function(sourceDirName, destDirName, copySubDirs, overwriteExisting) end
---`Method Private Instance`
---@param download Barotrauma.LuaCsSteam.WorkshopItemDownload
---@param startDownload? System.Boolean
_G['Steam'].DownloadWorkshopItemAsync = function(download, startDownload) end
---`Method Public Instance`
---@overload fun(id:System.UInt64, destination:System.String, callback:(Barotrauma.LuaCsAction)|(fun(...:System.Object)))
---@param item Steamworks.Ugc.Item
---@param destination System.String
---@param callback (Barotrauma.LuaCsAction)|(fun(...:System.Object))
_G['Steam'].DownloadWorkshopItem = function(item, destination, callback) end
---`Method Public Instance`
---@param id System.UInt64
---@param callback (Barotrauma.LuaCsAction)|(fun(...:System.Object))
_G['Steam'].GetWorkshopItem = function(id, callback) end
---`Method Public Instance`
_G['Steam'].Update = function() end
---`Constructor Public Instance`
---@return Barotrauma.LuaCsSteam
_G['Steam'] = function() end
---`Constructor Public Instance`
---@return Barotrauma.LuaCsSteam
_G['Steam'].__new = function() end

View File

@@ -0,0 +1,26 @@
---@meta
---@class Barotrauma.LuaCsPerformanceCounter : System.Object
---`Field Public Instance`
---@field EnablePerformanceCounter System.Boolean
---`Field Public Instance`
---@field UpdateElapsedTime System.Double
---`Field Public Instance`
---@field HookElapsedTime (System.Collections.Generic.Dictionary*1System*String*1System*Collections*Generic*Dictionary*2System*String*2System*Double)|({[System.String]:((System.Collections.Generic.Dictionary*1System*String*1System*Double)|({[System.String]:(System.Double)}))})
---`Getter Public Static`
---@field MemoryUsage System.Single
_G['PerformanceCounter'] = {}
---`Method Public Instance`
---@param eventName System.String
---@param hookName System.String
---@param ticks System.Int64
_G['PerformanceCounter'].SetHookElapsedTicks = function(eventName, hookName, ticks) end
---`Constructor Public Instance`
---@return Barotrauma.LuaCsPerformanceCounter
_G['PerformanceCounter'] = function() end
---`Constructor Public Instance`
---@return Barotrauma.LuaCsPerformanceCounter
_G['PerformanceCounter'].__new = function() end

View File

@@ -0,0 +1,64 @@
---@meta
---@class Barotrauma.LuaCsConfig : System.Object
_G['LuaCsConfig'] = {}
---`Method Private Static`
---@param typesElem System.Xml.Linq.XElement
---@return (System.Type-arr)|(System.Type[])
_G['LuaCsConfig'].LoadDocTypes = function(typesElem) end
---`Method Private Static`
---@param types (System.Collections.Generic.IEnumerable*1System*Type)|(fun():(System.Type))
---@return (System.Collections.Generic.IEnumerable*1System*Xml*Linq*XElement)|(fun():(System.Xml.Linq.XElement))
_G['LuaCsConfig'].SaveDocTypes = function(types) end
---`Method Private Static`
---@param types (System.Type-arr)|(System.Type[])
---@param elem System.Xml.Linq.XElement
---@return System.Type
_G['LuaCsConfig'].GetTypeAttr = function(types, elem) end
---`Method Private Static`
---@param elem System.Xml.Linq.XElement
---@return Barotrauma.LuaCsConfig.ValueType
_G['LuaCsConfig'].GetValueType = function(elem) end
---`Method Private Static`
---@param types (System.Type-arr)|(System.Type[])
---@param elem System.Xml.Linq.XElement
---@return System.Object
_G['LuaCsConfig'].ParseValue = function(types, elem) end
---`Method Private Static`
---@param types (System.Collections.Generic.List*1System*Type)|(System.Type[])
---@param type System.Type
---@param elem System.Xml.Linq.XElement
_G['LuaCsConfig'].AddTypeAttr = function(types, type, elem) end
---`Method Private Static`
---@param types (System.Collections.Generic.List*1System*Type)|(System.Type[])
---@param name System.String
---@param value System.Object
---@return System.Xml.Linq.XElement
_G['LuaCsConfig'].ParseObject = function(types, name, value) end
---`Method Public Static`
---@overload fun(file:System.IO.FileStream):(Barotrauma.LuaCsConfig.T)
---@param path System.String
---@return Barotrauma.LuaCsConfig.T
_G['LuaCsConfig'].Load = function(path) end
---`Method Public Static`
---@overload fun(file:System.IO.FileStream, obj:System.Object)
---@param path System.String
---@param obj System.Object
_G['LuaCsConfig'].Save = function(path, obj) end
---`Constructor Public Instance`
---@return Barotrauma.LuaCsConfig
_G['LuaCsConfig'] = function() end
---`Constructor Public Instance`
---@return Barotrauma.LuaCsConfig
_G['LuaCsConfig'].__new = function() end

View File

@@ -0,0 +1,42 @@
---@meta
---@class Barotrauma.LuaCsSetup.LuaCsModStore : System.Object
---`Field Private Instance`
---@field luaModInterface (System.Collections.Generic.HashSet*1Barotrauma*LuaCsSetup*LuaCsModStore*LuaModStore)|(Barotrauma.LuaCsSetup.LuaCsModStore.LuaModStore[])
---`Field Private Instance`
---@field csModInterface (System.Collections.Generic.HashSet*1Barotrauma*LuaCsSetup*LuaCsModStore*CsModStore)|(Barotrauma.LuaCsSetup.LuaCsModStore.CsModStore[])
_G['ModStore'] = {}
---`Method Public Instance`
_G['ModStore'].Initialize = function() end
---`Method Public Instance`
_G['ModStore'].Clear = function() end
---`Method NonPublic Instance`
---@param modName System.String
---@return Barotrauma.LuaCsSetup.LuaCsModStore.LuaModStore
_G['ModStore'].Register = function(modName) end
---`Method Public Instance`
---@param mod Barotrauma.ACsMod
---@return Barotrauma.LuaCsSetup.LuaCsModStore.CsModStore
_G['ModStore'].Register = function(mod) end
---`Method Public Instance`
---@param modName System.String
---@return Barotrauma.LuaCsSetup.LuaCsModStore.CsModStore
_G['ModStore'].GetCsStore = function(modName) end
---`Method NonPublic Instance`
---@param modName System.String
---@return Barotrauma.LuaCsSetup.LuaCsModStore.LuaModStore
_G['ModStore'].GetLuaStore = function(modName) end
---`Constructor Public Instance`
---@return Barotrauma.LuaCsSetup.LuaCsModStore
_G['ModStore'] = function() end
---`Constructor Public Instance`
---@return Barotrauma.LuaCsSetup.LuaCsModStore
_G['ModStore'].__new = function() end

View File

@@ -0,0 +1,21 @@
---@meta
---@class Barotrauma.LuaCsSetup.LuaCsModStore.CsModStore : Barotrauma.LuaCsSetup.LuaCsModStore.ModStore*1Barotrauma*ACsMod*1System*Object
---`Field Public Instance`
---@field Mod Barotrauma.ACsMod
_G['ModStore']['CsModStore'] = {}
---`Method Public Instance Virtual`
---@param value Barotrauma.ACsMod
---@return System.Boolean
_G['ModStore']['CsModStore'].Equals = function(value) end
---`Constructor Public Instance`
---@param store (System.Collections.Generic.Dictionary*1System*String*1System*Object)|({[System.String]:(System.Object)})
---@return Barotrauma.LuaCsSetup.LuaCsModStore.CsModStore
_G['ModStore']['CsModStore'] = function(store) end
---`Constructor Public Instance`
---@param store (System.Collections.Generic.Dictionary*1System*String*1System*Object)|({[System.String]:(System.Object)})
---@return Barotrauma.LuaCsSetup.LuaCsModStore.CsModStore
_G['ModStore']['CsModStore'].__new = function(store) end

View File

@@ -0,0 +1,21 @@
---@meta
---@class Barotrauma.LuaCsSetup.LuaCsModStore.LuaModStore : Barotrauma.LuaCsSetup.LuaCsModStore.ModStore*1System*String*1MoonSharp*Interpreter*DynValue
---`Field Public Instance`
---@field Name System.String
_G['ModStore']['LuaModStore'] = {}
---`Method Public Instance Virtual`
---@param value System.String
---@return System.Boolean
_G['ModStore']['LuaModStore'].Equals = function(value) end
---`Constructor Public Instance`
---@param store (System.Collections.Generic.Dictionary*1System*String*1MoonSharp*Interpreter*DynValue)|({[System.String]:(MoonSharp.Interpreter.DynValue)})
---@return Barotrauma.LuaCsSetup.LuaCsModStore.LuaModStore
_G['ModStore']['LuaModStore'] = function(store) end
---`Constructor Public Instance`
---@param store (System.Collections.Generic.Dictionary*1System*String*1MoonSharp*Interpreter*DynValue)|({[System.String]:(MoonSharp.Interpreter.DynValue)})
---@return Barotrauma.LuaCsSetup.LuaCsModStore.LuaModStore
_G['ModStore']['LuaModStore'].__new = function(store) end

View File

@@ -0,0 +1,120 @@
---@meta
---@class Barotrauma.AssemblyManager : System.Object
---`Field Private Instance`
---@field OnAssemblyLoaded (System.Action*1System*Reflection*Assembly)|(fun(obj:System.Reflection.Assembly))
---`Field Private Instance`
---@field OnAssemblyUnloading (System.Action*1System*Reflection*Assembly)|(fun(obj:System.Reflection.Assembly))
---`Field Private Instance`
---@field OnException (System.Action*1System*String*1System*Exception)|(fun(arg1:System.String, arg2:System.Exception))
---`Field Private Instance`
---@field OnACLUnload (System.Action*1System*Guid)|(fun(obj:System.Guid))
---`Field Private Instance`
---@field IsReadyToUnloadACL (System.Func*1Barotrauma*AssemblyManager*LoadedACL*1System*Boolean)|(fun(arg:Barotrauma.AssemblyManager.LoadedACL):(System.Boolean))
---`Field Private Instance`
---@field _subTypesLookupCache (System.Collections.Concurrent.ConcurrentDictionary*1System*String*1System*Collections*Immutable*ImmutableList*2System*Type)|(fun():(System.Collections.Generic.KeyValuePair*1System*String*1System*Collections*Immutable*ImmutableList*2System*Type))
---`Field Private Instance`
---@field _defaultContextTypes (System.Collections.Immutable.ImmutableDictionary*1System*String*1System*Type)|({[System.String]:(System.Type)})
---`Field Private Instance`
---@field LoadedACLs (System.Collections.Concurrent.ConcurrentDictionary*1System*Guid*1Barotrauma*AssemblyManager*LoadedACL)|(fun():(System.Collections.Generic.KeyValuePair*1System*Guid*1Barotrauma*AssemblyManager*LoadedACL))
---`Field Private Instance`
---@field UnloadingACLs (System.Collections.Generic.List*1System*WeakReference*2Barotrauma*MemoryFileAssemblyContextLoader)|(System.WeakReference*1Barotrauma*MemoryFileAssemblyContextLoader[])
---`Field Private Instance`
---@field OpsLockLoaded System.Threading.ReaderWriterLockSlim
---`Field Private Instance`
---@field OpsLockUnloaded System.Threading.ReaderWriterLockSlim
---`Getter Public Instance`
---@field StillUnloadingACLs (System.Collections.Immutable.ImmutableList*1System*WeakReference*2Barotrauma*MemoryFileAssemblyContextLoader)|(System.WeakReference*1Barotrauma*MemoryFileAssemblyContextLoader[])
---`Getter Public Instance`
---@field IsCurrentlyUnloading System.Boolean
_G['AssemblyManager'] = {}
---`Method Public Instance`
---@overload fun():((System.Collections.Generic.IEnumerable*1System*Type)|(fun():(System.Type)))
---@param rebuildList System.Boolean
---@return (System.Collections.Generic.IEnumerable*1System*Type)|(fun():(System.Type))
_G['AssemblyManager'].GetSubTypesInLoadedAssemblies = function(rebuildList) end
---`Method Public Instance`
---@overload fun(id:System.Guid, types:System.Collections.Generic.IEnumerable):(System.Boolean)
---@param id System.Guid
---@param types System.Collections.Generic.IEnumerable
---@return System.Boolean
_G['AssemblyManager'].TryGetSubTypesFromACL = function(id, types) end
---`Method Public Instance`
---@param typeName System.String
---@return (System.Collections.Generic.IEnumerable*1System*Type)|(fun():(System.Type))
_G['AssemblyManager'].GetTypesByName = function(typeName) end
---`Method Public Instance`
---@return (System.Collections.Generic.IEnumerable*1System*Type)|(fun():(System.Type))
_G['AssemblyManager'].GetAllTypesInLoadedAssemblies = function() end
---`Method Public Instance`
---@return (System.Collections.Generic.IEnumerable*1Barotrauma*AssemblyManager*LoadedACL)|(fun():(Barotrauma.AssemblyManager.LoadedACL))
_G['AssemblyManager'].GetAllLoadedACLs = function() end
---`Method NonPublic Instance`
---@return (System.Collections.Immutable.ImmutableList*1Barotrauma*AssemblyManager*LoadedACL)|(Barotrauma.AssemblyManager.LoadedACL[])
_G['AssemblyManager'].UnsafeGetAllLoadedACLs = function() end
---`Method Public Instance`
---@param compiledAssemblyName System.String
---@param syntaxTree (System.Collections.Generic.IEnumerable*1Microsoft*CodeAnalysis*SyntaxTree)|(fun():(Microsoft.CodeAnalysis.SyntaxTree))
---@param externalMetadataReferences (System.Collections.Generic.IEnumerable*1Microsoft*CodeAnalysis*MetadataReference)|(fun():(Microsoft.CodeAnalysis.MetadataReference))
---@param compilationOptions Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
---@param friendlyName System.String
---@param id System.Guid-ref
---@param externFileAssemblyRefs? (System.Collections.Generic.IEnumerable*1System*Reflection*Assembly)|(fun():(System.Reflection.Assembly))
---@return Barotrauma.AssemblyLoadingSuccessState
_G['AssemblyManager'].LoadAssemblyFromMemory = function(compiledAssemblyName, syntaxTree, externalMetadataReferences, compilationOptions, friendlyName, id, externFileAssemblyRefs) end
---`Method Public Instance`
---@param guid System.Guid
---@return System.Boolean
_G['AssemblyManager'].SetACLToTemplateMode = function(guid) end
---`Method Public Instance`
---@param filePaths (System.Collections.Generic.IEnumerable*1System*String)|(fun():(System.String))
---@param friendlyName System.String
---@param id System.Guid-ref
---@return Barotrauma.AssemblyLoadingSuccessState
_G['AssemblyManager'].LoadAssembliesFromLocations = function(filePaths, friendlyName, id) end
---`Method Public Instance`
---@return System.Boolean
_G['AssemblyManager'].TryBeginDispose = function() end
---`Method Public Instance`
---@return System.Boolean
_G['AssemblyManager'].FinalizeDispose = function() end
---`Method Public Instance`
---@param id System.Guid
---@param acl Barotrauma.LoadedACL-ref
---@return System.Boolean
_G['AssemblyManager'].TryGetACL = function(id, acl) end
---`Method Private Instance`
---@param id System.Guid
---@param friendlyName System.String
---@param acl Barotrauma.LoadedACL-ref
---@return System.Boolean
_G['AssemblyManager'].GetOrCreateACL = function(id, friendlyName, acl) end
---`Method Private Instance`
---@param id System.Guid
---@return System.Boolean
_G['AssemblyManager'].DisposeACL = function(id) end
---`Method Private Instance`
_G['AssemblyManager'].RebuildTypesList = function() end
---`Constructor NonPublic Instance`
---@return Barotrauma.AssemblyManager
_G['AssemblyManager'] = function() end
---`Constructor NonPublic Instance`
---@return Barotrauma.AssemblyManager
_G['AssemblyManager'].__new = function() end

View File

@@ -0,0 +1,183 @@
---@meta
---@class Barotrauma.CsPackageManager : System.Object
---`Field Private Instance`
---@field _publicizedAssembliesToLoad (System.String-arr)|(System.String[])
---`Field Private Instance`
---@field _assemblyUnloadTimeoutSeconds System.Single
---`Field Private Instance`
---@field _publicizedAssemblyLoader System.Guid
---`Field Private Instance`
---@field _currentPackagesByLoadOrder (System.Collections.Generic.List*1Barotrauma*ContentPackage)|(Barotrauma.ContentPackage[])
---`Field Private Instance`
---@field _packagesDependencies (System.Collections.Generic.Dictionary*1Barotrauma*ContentPackage*1System*Collections*Immutable*ImmutableList*2Barotrauma*ContentPackage)|({[Barotrauma.ContentPackage]:((System.Collections.Immutable.ImmutableList*1Barotrauma*ContentPackage)|(Barotrauma.ContentPackage[]))})
---`Field Private Instance`
---@field _loadedCompiledPackageAssemblies (System.Collections.Generic.Dictionary*1Barotrauma*ContentPackage*1System*Guid)|({[Barotrauma.ContentPackage]:(System.Guid)})
---`Field Private Instance`
---@field _reverseLookupGuidList (System.Collections.Generic.Dictionary*1System*Guid*1Barotrauma*ContentPackage)|({[System.Guid]:(Barotrauma.ContentPackage)})
---`Field Private Instance`
---@field _loadedPlugins (System.Collections.Generic.Dictionary*1System*Guid*1System*Collections*Generic*HashSet*2Barotrauma*IAssemblyPlugin)|({[System.Guid]:((System.Collections.Generic.HashSet*1Barotrauma*IAssemblyPlugin)|(Barotrauma.IAssemblyPlugin[]))})
---`Field Private Instance`
---@field _pluginTypes (System.Collections.Generic.Dictionary*1System*Guid*1System*Collections*Immutable*ImmutableHashSet*2System*Type)|({[System.Guid]:((System.Collections.Immutable.ImmutableHashSet*1System*Type)|(System.Type[]))})
---`Field Private Instance`
---@field _packageRunConfigs (System.Collections.Generic.Dictionary*1Barotrauma*ContentPackage*1Barotrauma*RunConfig)|({[Barotrauma.ContentPackage]:(Barotrauma.RunConfig)})
---`Field Private Instance`
---@field _luaRegisteredTypes (System.Collections.Generic.Dictionary*1System*Guid*1System*Collections*Immutable*ImmutableList*2System*Type)|({[System.Guid]:((System.Collections.Immutable.ImmutableList*1System*Type)|(System.Type[]))})
---`Field Private Instance`
---@field _assemblyManager Barotrauma.AssemblyManager
---`Field Private Instance`
---@field _luaCsSetup Barotrauma.LuaCsSetup
---`Field Private Instance`
---@field _assemblyUnloadStartTime System.DateTime
---`Field Private Instance`
---@field OnDispose (System.Action)|(fun())
---`Field Private Static`
---@field ScriptParseOptions Microsoft.CodeAnalysis.CSharp.CSharpParseOptions
---`Field Private Static`
---@field CompilationOptions Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
---`Field Private Static`
---@field BaseAssemblyImports Microsoft.CodeAnalysis.SyntaxTree
---`Field Private Static`
---@field PLATFORM_TARGET System.String
---`Field Private Static`
---@field ARCHITECTURE_TARGET System.String
---`Field Private Static`
---@field SCRIPT_FILE_REGEX System.String
---`Field Private Static`
---@field ASSEMBLY_FILE_REGEX System.String
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field AssembliesLoaded System.Boolean
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field PluginsPreInit System.Boolean
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field PluginsInitialized System.Boolean
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field PluginsLoaded System.Boolean
_G['PluginPackageManager'] = {}
---`Method Public Instance`
---@param name System.String
---@param caseSensitive? System.Boolean
---@return System.Boolean
_G['PluginPackageManager'].LuaTryRegisterPackageTypes = function(name, caseSensitive) end
---`Method Public Instance`
---@return (System.Collections.Generic.IEnumerable*1Barotrauma*ContentPackage)|(fun():(Barotrauma.ContentPackage))
_G['PluginPackageManager'].GetCurrentPackagesByLoadOrder = function() end
---`Method Public Instance`
---@param package Barotrauma.ContentPackage-ref
---@return System.Boolean
_G['PluginPackageManager'].TryGetPackageForPlugin = function(package) end
---`Method Public Instance`
---@param package Barotrauma.ContentPackage
---@param loadedPlugins System.Collections.Generic.IEnumerable
---@return System.Boolean
_G['PluginPackageManager'].TryGetLoadedPluginsForPackage = function(package, loadedPlugins) end
---`Method Public Instance Virtual`
_G['PluginPackageManager'].Dispose = function() end
---`Method Public Instance`
---@return Barotrauma.AssemblyLoadingSuccessState
_G['PluginPackageManager'].LoadAssemblyPackages = function() end
---`Method Public Instance`
_G['PluginPackageManager'].RunPluginsInit = function() end
---`Method Public Instance`
_G['PluginPackageManager'].RunPluginsPreInit = function() end
---`Method Public Instance`
---@param force? System.Boolean
_G['PluginPackageManager'].InstantiatePlugins = function(force) end
---`Method Public Instance`
_G['PluginPackageManager'].UnloadPlugins = function() end
---`Method Public Static`
---@param package Barotrauma.ContentPackage
---@param config Barotrauma.RunConfig-ref
---@return System.Boolean
_G['PluginPackageManager'].GetOrCreateRunConfig = function(package, config) end
---`Method Private Instance`
---@param action (System.Action)|(fun())
---@param messageMethodName System.String
---@param messageTypeName System.String
_G['PluginPackageManager'].TryRun = function(action, messageMethodName, messageTypeName) end
---`Method Private Instance`
---@param assembly System.Reflection.Assembly
_G['PluginPackageManager'].AssemblyManagerOnAssemblyUnloading = function(assembly) end
---`Method Private Instance`
---@param assembly System.Reflection.Assembly
_G['PluginPackageManager'].AssemblyManagerOnAssemblyLoaded = function(assembly) end
---`Method NonPublic Instance Virtual`
_G['PluginPackageManager'].Finalize = function() end
---`Method Private Static`
---@param package Barotrauma.ContentPackage
---@param scriptFilePaths System.Collections.Immutable.ImmutableList
---@return System.Boolean
_G['PluginPackageManager'].TryScanPackageForScripts = function(package, scriptFilePaths) end
---`Method Private Static`
---@param package Barotrauma.ContentPackage
---@param assemblyFilePaths System.Collections.Immutable.ImmutableList
---@return System.Boolean
_G['PluginPackageManager'].TryScanPackagesForAssemblies = function(package, assemblyFilePaths) end
---`Method Private Static`
---@param package Barotrauma.ContentPackage
---@return Barotrauma.RunConfig
_G['PluginPackageManager'].GetRunConfigForPackage = function(package) end
---`Method Private Instance`
---@return (System.Collections.Generic.IEnumerable*1Barotrauma*ContentPackage)|(fun():(Barotrauma.ContentPackage))
_G['PluginPackageManager'].BuildPackagesList = function() end
---`Method Private Static`
---@return Microsoft.CodeAnalysis.SyntaxTree
_G['PluginPackageManager'].GetPackageScriptImports = function() end
---`Method Private Static`
---@param packages (System.Collections.Immutable.ImmutableList*1Barotrauma*ContentPackage)|(Barotrauma.ContentPackage[])
---@param dependenciesMap System.Collections.Generic.Dictionary
---@return System.Boolean
_G['PluginPackageManager'].TryBuildDependenciesMap = function(packages, dependenciesMap) end
---`Method Private Static`
---@param packages (System.Collections.Generic.Dictionary*1Barotrauma*ContentPackage*1System*Collections*Immutable*ImmutableList*2Barotrauma*ContentPackage)|({[Barotrauma.ContentPackage]:((System.Collections.Immutable.ImmutableList*1Barotrauma*ContentPackage)|(Barotrauma.ContentPackage[]))})
---@param readyToLoad System.Collections.Generic.IEnumerable
---@param cannotLoadPackages System.Collections.Generic.IEnumerable
---@param packageChecksPredicate? (System.Func*1Barotrauma*ContentPackage*1System*Boolean)|(fun(arg:Barotrauma.ContentPackage):(System.Boolean))
---@return System.Boolean
_G['PluginPackageManager'].OrderAndFilterPackagesByDependencies = function(packages, readyToLoad, cannotLoadPackages, packageChecksPredicate) end
---`Constructor NonPublic Instance`
---@overload fun(assemblyManager:Barotrauma.AssemblyManager, luaCsSetup:Barotrauma.LuaCsSetup):Barotrauma.CsPackageManager
---@return Barotrauma.CsPackageManager
_G['PluginPackageManager'] = function() end
---`Constructor NonPublic Instance`
---@overload fun(assemblyManager:Barotrauma.AssemblyManager, luaCsSetup:Barotrauma.LuaCsSetup):Barotrauma.CsPackageManager
---@return Barotrauma.CsPackageManager
_G['PluginPackageManager'].__new = function() end
---`Constructor Private Static`
---@overload fun(assemblyManager:Barotrauma.AssemblyManager, luaCsSetup:Barotrauma.LuaCsSetup):Barotrauma.CsPackageManager
---@return Barotrauma.CsPackageManager
_G['PluginPackageManager'] = function() end
---`Constructor Private Static`
---@overload fun(assemblyManager:Barotrauma.AssemblyManager, luaCsSetup:Barotrauma.LuaCsSetup):Barotrauma.CsPackageManager
---@return Barotrauma.CsPackageManager
_G['PluginPackageManager'].__new = function() end

View File

@@ -0,0 +1,43 @@
---@meta
---@class MoonSharp.Interpreter.Interop.IUserDataDescriptor
---`Getter Public Instance Abstract Virtual`
---@field Name System.String
---`Getter Public Instance Abstract Virtual`
---@field Type System.Type
_G['MoonSharp']['Interpreter']['Interop']['IUserDataDescriptor'] = {}
---`Method Public Instance Abstract Virtual`
---@param script MoonSharp.Interpreter.Script
---@param obj System.Object
---@param index MoonSharp.Interpreter.DynValue
---@param isDirectIndexing System.Boolean
---@return MoonSharp.Interpreter.DynValue
_G['MoonSharp']['Interpreter']['Interop']['IUserDataDescriptor'].Index = function(script, obj, index, isDirectIndexing) end
---`Method Public Instance Abstract Virtual`
---@param script MoonSharp.Interpreter.Script
---@param obj System.Object
---@param index MoonSharp.Interpreter.DynValue
---@param value MoonSharp.Interpreter.DynValue
---@param isDirectIndexing System.Boolean
---@return System.Boolean
_G['MoonSharp']['Interpreter']['Interop']['IUserDataDescriptor'].SetIndex = function(script, obj, index, value, isDirectIndexing) end
---`Method Public Instance Abstract Virtual`
---@param obj System.Object
---@return System.String
_G['MoonSharp']['Interpreter']['Interop']['IUserDataDescriptor'].AsString = function(obj) end
---`Method Public Instance Abstract Virtual`
---@param script MoonSharp.Interpreter.Script
---@param obj System.Object
---@param metaname System.String
---@return MoonSharp.Interpreter.DynValue
_G['MoonSharp']['Interpreter']['Interop']['IUserDataDescriptor'].MetaIndex = function(script, obj, metaname) end
---`Method Public Instance Abstract Virtual`
---@param type System.Type
---@param obj System.Object
---@return System.Boolean
_G['MoonSharp']['Interpreter']['Interop']['IUserDataDescriptor'].IsTypeCompatible = function(type, obj) end

View File

@@ -0,0 +1,372 @@
---@meta
---@class Barotrauma.ToolBox : System.Object
---`Field Private Static`
---@field cachedFileNames (System.Collections.Generic.Dictionary*1System*String*1System*String)|({[System.String]:(System.String)})
---`Field Private Static`
---@field removeBBCodeRegex System.Text.RegularExpressions.Regex
---`Field Private Static`
---@field cachedLines (System.Collections.Generic.Dictionary*1System*String*1System*Collections*Generic*List*2System*String)|({[System.String]:((System.Collections.Generic.List*1System*String)|(System.String[]))})
---`Field Private Static`
---@field affectedCharacters (System.Collections.Immutable.ImmutableHashSet*1System*Char)|(System.Char[])
_G['ToolBox'] = {}
---`Method Public Static`
---@param point Microsoft.Xna.Framework.Vector2
---@param verts (Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[])
---@param checkBoundingBox? System.Boolean
---@return System.Boolean
_G['ToolBox'].PointIntersectsWithPolygon = function(point, verts, checkBoundingBox) end
---`Method Public Static`
---@param verticess (System.Collections.Generic.List*1Microsoft*Xna*Framework*Vector2)|(Microsoft.Xna.Framework.Vector2[])
---@return Microsoft.Xna.Framework.Vector2
_G['ToolBox'].GetPolygonBoundingBoxSize = function(verticess) end
---`Method Public Static`
---@param vertices (System.Collections.Generic.List*1Microsoft*Xna*Framework*Vector2)|(Microsoft.Xna.Framework.Vector2[])
---@param scale Microsoft.Xna.Framework.Vector2
---@return (System.Collections.Generic.List*1Microsoft*Xna*Framework*Vector2)|(Microsoft.Xna.Framework.Vector2[])
_G['ToolBox'].ScalePolygon = function(vertices, scale) end
---`Method Public Static`
---@param poly (System.Collections.Generic.List*1Microsoft*Xna*Framework*Vector2)|(Microsoft.Xna.Framework.Vector2[])
---@return Microsoft.Xna.Framework.Vector2
_G['ToolBox'].GetPolygonCentroid = function(poly) end
---`Method Public Static`
---@param points (System.Collections.Generic.List*1Microsoft*Xna*Framework*Vector2)|(Microsoft.Xna.Framework.Vector2[])
---@param treshold? System.Int32
---@return (System.Collections.Generic.List*1Microsoft*Xna*Framework*Vector2)|(Microsoft.Xna.Framework.Vector2[])
_G['ToolBox'].SnapVertices = function(points, treshold) end
---`Method Public Static`
---@param rects (System.Collections.Generic.IEnumerable*1Microsoft*Xna*Framework*RectangleF)|(fun():(Microsoft.Xna.Framework.RectangleF))
---@param treshold? System.Int32
---@return (System.Collections.Immutable.ImmutableArray*1Microsoft*Xna*Framework*RectangleF)|(Microsoft.Xna.Framework.RectangleF[])
_G['ToolBox'].SnapRectangles = function(rects, treshold) end
---`Method Public Static`
---@param rectangles (System.Collections.Generic.IEnumerable*1Microsoft*Xna*Framework*RectangleF)|(fun():(Microsoft.Xna.Framework.RectangleF))
---@return (System.Collections.Generic.List*1System*Collections*Generic*List*2Microsoft*Xna*Framework*Vector2)|((System.Collections.Generic.List*1Microsoft*Xna*Framework*Vector2)|(Microsoft.Xna.Framework.Vector2[])[])
_G['ToolBox'].CombineRectanglesIntoShape = function(rectangles) end
---`Method Public Static`
---@overload fun(color:Microsoft.Xna.Framework.Color):(Microsoft.Xna.Framework.Vector3)
---@param color Microsoft.Xna.Framework.Vector3
---@return Microsoft.Xna.Framework.Vector3
_G['ToolBox'].RgbToHLS = function(color) end
---`Method Public Static`
---@param hls Microsoft.Xna.Framework.Vector3
---@return Microsoft.Xna.Framework.Color
_G['ToolBox'].HLSToRGB = function(hls) end
---`Method Private Static`
---@param q1 System.Double
---@param q2 System.Double
---@param hue System.Double
---@return System.Double
_G['ToolBox'].QqhToRgb = function(q1, q2, hue) end
---`Method Public Static`
---@param color Microsoft.Xna.Framework.Color
---@return Microsoft.Xna.Framework.Vector3
_G['ToolBox'].RGBToHSV = function(color) end
---`Method Public Static`
---@param sourceColor Microsoft.Xna.Framework.Color
---@param color Microsoft.Xna.Framework.Color
---@return Microsoft.Xna.Framework.Color
_G['ToolBox'].Add = function(sourceColor, color) end
---`Method Public Static`
---@param sourceColor Microsoft.Xna.Framework.Color
---@param color Microsoft.Xna.Framework.Color
---@return Microsoft.Xna.Framework.Color
_G['ToolBox'].Subtract = function(sourceColor, color) end
---`Method Public Static`
---@overload fun(str:Barotrauma.LocalizedString, font:Barotrauma.GUIFont, maxWidth:System.Int32):(Barotrauma.LocalizedString)
---@overload fun(str:System.String, font:Barotrauma.GUIFont, maxWidth:System.Int32):(Barotrauma.LocalizedString)
---@param str System.String
---@param font Barotrauma.ScalableFont
---@param maxWidth System.Int32
---@return System.String
_G['ToolBox'].LimitString = function(str, font, maxWidth) end
---`Method Public Static`
---@param str System.String
---@param font Barotrauma.ScalableFont
---@param maxHeight System.Int32
---@return System.String
_G['ToolBox'].LimitStringHeight = function(str, font, maxHeight) end
---`Method Public Static`
---@param t System.Single
---@param ... Microsoft.Xna.Framework.Color
---@return Microsoft.Xna.Framework.Color
_G['ToolBox'].GradientLerp = function(t, ...) end
---`Method Public Static`
---@overload fun(text:Barotrauma.LocalizedString, lineLength:System.Single, font:Barotrauma.GUIFont, textScale?:System.Single):(Barotrauma.LocalizedString)
---@param text System.String
---@param lineLength System.Single
---@param font Barotrauma.ScalableFont
---@param textScale? System.Single
---@return System.String
_G['ToolBox'].WrapText = function(text, lineLength, font, textScale) end
---`Method Public Static`
---@param a System.Version
---@param b System.Version
---@return System.Boolean
_G['ToolBox'].VersionNewerIgnoreRevision = function(a, b) end
---`Method Public Static`
---@param filename System.String
_G['ToolBox'].OpenFileWithShell = function(filename) end
---`Method Public Static`
---@param parent Barotrauma.RectTransform
---@param padding System.Single
---@return Microsoft.Xna.Framework.Vector2
_G['ToolBox'].PaddingSizeParentRelative = function(parent, padding) end
---`Method Public Static`
---@param text System.String
---@param start System.Int32
---@param length System.Int32
---@param color Microsoft.Xna.Framework.Color
---@return System.String
_G['ToolBox'].ColorSectionOfString = function(text, start, length, color) end
---`Method Public Static`
---@param raw System.String
---@return (System.Byte-arr)|(System.Byte[])
_G['ToolBox'].HexStringToBytes = function(raw) end
---`Method Public Static`
---@param filename System.String
---@return System.Boolean
_G['ToolBox'].IsProperFilenameCase = function(filename) end
---`Method Public Static`
---@param filename System.String
---@param corrected System.Boolean-ref
---@param directory? System.String
---@return System.String
_G['ToolBox'].CorrectFilenameCase = function(filename, corrected, directory) end
---`Method Public Static`
---@param fileName System.String
---@return System.String
_G['ToolBox'].RemoveInvalidFileNameChars = function(fileName) end
---`Method Public Static`
---@param str System.String
---@return System.String
_G['ToolBox'].RemoveBBCodeTags = function(str) end
---`Method Public Static`
---@param length System.Int32
---@return System.String
_G['ToolBox'].RandomSeed = function(length) end
---`Method Public Static`
---@param id Barotrauma.Identifier
---@return System.Int32
_G['ToolBox'].IdentifierToInt = function(id) end
---`Method Public Static`
---@param str System.String
---@return System.Int32
_G['ToolBox'].StringToInt = function(str) end
---`Method Public Static`
---@param inputType System.String
---@return System.String
_G['ToolBox'].ConvertInputType = function(inputType) end
---`Method Public Static`
---@param isFinished System.Boolean
---@param isRunning? System.Boolean
---@return System.String
_G['ToolBox'].GetDebugSymbol = function(isFinished, isRunning) end
---`Method Public Static`
---@param obj System.Object
---@return System.String
_G['ToolBox'].ColorizeObject = function(obj) end
---`Method Public Static`
---@param s System.String
---@param t System.String
---@return System.Int32
_G['ToolBox'].LevenshteinDistance = function(s, t) end
---`Method Public Static`
---@param seconds System.Single
---@return Barotrauma.LocalizedString
_G['ToolBox'].SecondsToReadableTime = function(seconds) end
---`Method Public Static`
---@param filePath System.String
---@param randSync? Barotrauma.Rand.RandSync
---@return System.String
_G['ToolBox'].GetRandomLine = function(filePath, randSync) end
---`Method Public Static`
---@param originalBuffer Barotrauma.Networking.IReadMessage
---@param numberOfBits System.Int32
---@return Barotrauma.Networking.IReadMessage
_G['ToolBox'].ExtractBits = function(originalBuffer, numberOfBits) end
---`Method Public Static`
---@overload fun(objects:(System.Collections.Generic.IEnumerable*1Barotrauma*ToolBox*T)|(fun():(Barotrauma.ToolBox.T)), weightMethod:(System.Func*1Barotrauma*ToolBox*T*1System*Single)|(fun(arg:Barotrauma.ToolBox.T):(System.Single)), randSync:Barotrauma.Rand.RandSync):(Barotrauma.ToolBox.T)
---@overload fun(objects:(System.Collections.Generic.IEnumerable*1Barotrauma*ToolBox*T)|(fun():(Barotrauma.ToolBox.T)), weightMethod:(System.Func*1Barotrauma*ToolBox*T*1System*Single)|(fun(arg:Barotrauma.ToolBox.T):(System.Single)), random:System.Random):(Barotrauma.ToolBox.T)
---@overload fun(objects:(System.Collections.Generic.IList*1Barotrauma*ToolBox*T)|(Barotrauma.ToolBox.T[]), weights:(System.Collections.Generic.IList*1System*Single)|(System.Single[]), randSync:Barotrauma.Rand.RandSync):(Barotrauma.ToolBox.T)
---@param objects (System.Collections.Generic.IList*1Barotrauma*ToolBox*T)|(Barotrauma.ToolBox.T[])
---@param weights (System.Collections.Generic.IList*1System*Single)|(System.Single[])
---@param random System.Random
---@return Barotrauma.ToolBox.T
_G['ToolBox'].SelectWeightedRandom = function(objects, weights, random) end
---`Method Public Static`
---@param source Barotrauma.ToolBox.T
---@param flags? System.Reflection.BindingFlags
---@return Barotrauma.ToolBox.T
_G['ToolBox'].CreateCopy = function(source, flags) end
---`Method Public Static`
---@param source Barotrauma.ToolBox.T
---@param target Barotrauma.ToolBox.T
---@param flags? System.Reflection.BindingFlags
---@return Barotrauma.ToolBox.T
_G['ToolBox'].CopyValuesTo = function(source, target, flags) end
---`Method Public Static`
---@param source Barotrauma.ToolBox.T
---@param destination Barotrauma.ToolBox.T
---@param flags? System.Reflection.BindingFlags
---@return Barotrauma.ToolBox.T
_G['ToolBox'].CopyValues = function(source, destination, flags) end
---`Method Public Static`
---@param list (System.Collections.Generic.List*1Barotrauma*ToolBox*T)|(Barotrauma.ToolBox.T[])
---@param from System.Int32
---@param to System.Int32
_G['ToolBox'].SiftElement = function(list, from, to) end
---`Method Public Static`
---@param str System.String
---@return System.String
_G['ToolBox'].EscapeCharacters = function(str) end
---`Method Public Static`
---@param str System.String
---@return System.String
_G['ToolBox'].UnescapeCharacters = function(str) end
---`Method Public Static`
---@param command System.String
---@return (System.String-arr)|(System.String[])
_G['ToolBox'].SplitCommand = function(command) end
---`Method Public Static`
---@param path System.String
---@param correctFilenameCase? System.Boolean
---@param directory? System.String
---@return System.String
_G['ToolBox'].CleanUpPathCrossPlatform = function(path, correctFilenameCase, directory) end
---`Method Public Static`
---@param path System.String
---@return System.String
_G['ToolBox'].CleanUpPath = function(path) end
---`Method Public Static`
---@param easing Barotrauma.TransitionMode
---@param t System.Single
---@return System.Single
_G['ToolBox'].GetEasing = function(easing, t) end
---`Method Public Static`
---@param center Microsoft.Xna.Framework.Point
---@param size Microsoft.Xna.Framework.Point
---@return Microsoft.Xna.Framework.Rectangle
_G['ToolBox'].GetWorldBounds = function(center, size) end
---`Method Public Static`
---@param o Barotrauma.ToolBox.T
_G['ToolBox'].ThrowIfNull = function(o) end
---`Method Public Static`
---@param v System.Single
---@return System.String
_G['ToolBox'].GetFormattedPercentage = function(v) end
---`Method Public Static`
---@param original System.String
---@return System.String
_G['ToolBox'].ExtendColorToPercentageSigns = function(original) end
---`Method Public Static`
---@param original Barotrauma.Identifier
---@param match Barotrauma.Identifier
---@return System.Boolean
_G['ToolBox'].StatIdentifierMatches = function(original, match) end
---`Method Public Static`
---@overload fun(self:System.Net.IPEndPoint, other:System.Net.IPEndPoint):(System.Boolean)
---@param self System.Net.IPAddress
---@param other System.Net.IPAddress
---@return System.Boolean
_G['ToolBox'].EquivalentTo = function(self, other) end
---`Method Public Static`
---@param value System.Int16
---@return System.Single
_G['ToolBox'].ShortAudioSampleToFloat = function(value) end
---`Method Public Static`
---@param value System.Single
---@return System.Int16
_G['ToolBox'].FloatToShortAudioSample = function(value) end
---`Method Public Static`
---@param start Microsoft.Xna.Framework.Vector2
---@param luaKey__end Microsoft.Xna.Framework.Vector2
---@param knobLength? System.Single
---@return Barotrauma.SquareLine
_G['ToolBox'].GetSquareLineBetweenPoints = function(start, luaKey__end, knobLength) end
---`Method Public Static`
---@param bytes (System.Byte-arr)|(System.Byte[])
---@return System.String
_G['ToolBox'].BytesToHexString = function(bytes) end
---`Method Public Static`
---@param rect Microsoft.Xna.Framework.RectangleF
---@param point Microsoft.Xna.Framework.Vector2
---@return Microsoft.Xna.Framework.Vector2
_G['ToolBox'].GetClosestPointOnRectangle = function(rect, point) end
---`Method Public Static`
---@param prefabs (System.Collections.Generic.IEnumerable*1Barotrauma*PrefabWithUintIdentifier)|(fun():(Barotrauma.PrefabWithUintIdentifier))
---@return (System.Collections.Immutable.ImmutableArray*1System*UInt32)|(System.UInt32[])
_G['ToolBox'].PrefabCollectionToUintIdentifierArray = function(prefabs) end
---`Method Public Static`
---@param Prefabs (Barotrauma.PrefabCollection*1Barotrauma*ToolBox*T)|(fun():(Barotrauma.ToolBox.T))
---@param uintIdentifiers (System.Collections.Generic.IEnumerable*1System*UInt32)|(fun():(System.UInt32))
---@return (System.Collections.Immutable.ImmutableArray*1Barotrauma*ToolBox*T)|(Barotrauma.ToolBox.T[])
_G['ToolBox'].UintIdentifierArrayToPrefabCollection = function(Prefabs, uintIdentifiers) end
---`Constructor Private Static`
---@return Barotrauma.ToolBox
_G['ToolBox'] = function() end
---`Constructor Private Static`
---@return Barotrauma.ToolBox
_G['ToolBox'].__new = function() end

View File

@@ -0,0 +1,114 @@
---@meta
---@class Barotrauma.Identifier : System.ValueType, {[System.Range]:Barotrauma.Identifier}, {[System.Int32]:System.Char}
---`Field Private Instance`
---@field value System.String
---`Field Private Instance`
---@field hashCode System.Lazy*1System*Int32
---`Field Public Static`
---@field Empty Barotrauma.Identifier
---`Field Private Static`
---@field emptyHash System.Int32
---`Getter Public Instance`
---@field Value System.String
---`Getter Public Instance`
---@field HashCode System.Int32
---`Getter Public Instance`
---@field IsEmpty System.Boolean
_G['Identifier'] = {}
---`Method Public Instance`
---@param id Barotrauma.Identifier-ref
---@return Barotrauma.Identifier
_G['Identifier'].IfEmpty = function(id) end
---`Method Public Instance`
---@overload fun(subStr:Barotrauma.Identifier-ref, newStr:Barotrauma.Identifier-ref):(Barotrauma.Identifier)
---@param subStr System.String
---@param newStr System.String
---@return Barotrauma.Identifier
_G['Identifier'].Replace = function(subStr, newStr) end
---`Method Public Instance`
---@overload fun(subStr:Barotrauma.Identifier):(Barotrauma.Identifier)
---@param subStr System.String
---@return Barotrauma.Identifier
_G['Identifier'].Remove = function(subStr) end
---`Method Public Instance Virtual`
---@overload fun(obj:System.Object):(System.Boolean)
---@param other Barotrauma.Identifier
---@return System.Boolean
_G['Identifier'].Equals = function(other) end
---`Method Public Instance`
---@overload fun(str:System.String):(System.Boolean)
---@param id Barotrauma.Identifier
---@return System.Boolean
_G['Identifier'].StartsWith = function(id) end
---`Method Public Instance`
---@overload fun(str:System.String):(System.Boolean)
---@param id Barotrauma.Identifier
---@return System.Boolean
_G['Identifier'].EndsWith = function(id) end
---`Method Public Instance`
---@param suffix System.String
---@return Barotrauma.Identifier
_G['Identifier'].AppendIfMissing = function(suffix) end
---`Method Public Instance`
---@param suffix System.String
---@return Barotrauma.Identifier
_G['Identifier'].RemoveFromEnd = function(suffix) end
---`Method Public Instance`
---@overload fun(str:System.String):(System.Boolean)
---@param id Barotrauma.Identifier-ref
---@return System.Boolean
_G['Identifier'].Contains = function(id) end
---`Method Public Instance Virtual`
---@return System.String
_G['Identifier'].ToString = function() end
---`Method Public Instance Virtual`
---@return System.Int32
_G['Identifier'].GetHashCode = function() end
---`Method Public Instance Virtual`
---@param obj System.Object
---@return System.Int32
_G['Identifier'].CompareTo = function(obj) end
---`Method Private Static`
---@param a System.String
---@param b System.String
---@return System.Boolean
_G['Identifier'].StringEquality = function(a, b) end
---`Method Public Instance`
---@param c System.Char
---@return System.Int32
_G['Identifier'].IndexOf = function(c) end
---`Constructor Public Instance`
---@overload fun(str:System.String):Barotrauma.Identifier
---@return Barotrauma.Identifier
_G['Identifier'] = function() end
---`Constructor Public Instance`
---@overload fun(str:System.String):Barotrauma.Identifier
---@return Barotrauma.Identifier
_G['Identifier'].__new = function() end
---`Constructor Private Static`
---@overload fun(str:System.String):Barotrauma.Identifier
---@return Barotrauma.Identifier
_G['Identifier'] = function() end
---`Constructor Private Static`
---@overload fun(str:System.String):Barotrauma.Identifier
---@return Barotrauma.Identifier
_G['Identifier'].__new = function() end

View File

@@ -0,0 +1,59 @@
---@meta
---@class Barotrauma.Prefab : System.Object
---`Field Public Instance`
---@field Identifier Barotrauma.Identifier
---`Field Public Instance`
---@field ContentFile Barotrauma.ContentFile
---`Field Public Static`
---@field Types (System.Collections.Immutable.ImmutableHashSet*1System*Type)|(System.Type[])
---`Field Private Static`
---@field potentialCallFromConstructor System.Boolean
---`Getter Public Instance`
---@field ContentPackage Barotrauma.ContentPackage
---`Getter Public Instance`
---@field FilePath Barotrauma.ContentPath
_G['Prefab'] = {}
---`Method Public Static`
_G['Prefab'].DisallowCallFromConstructor = function() end
---`Method NonPublic Instance Virtual`
---@param element System.Xml.Linq.XElement
---@return Barotrauma.Identifier
_G['Prefab'].DetermineIdentifier = function(element) end
---`Method Public Instance Abstract Virtual`
_G['Prefab'].Dispose = function() end
---`Constructor Private Static`
---@overload fun():Barotrauma.Prefab
---@overload fun(file:Barotrauma.ContentFile, identifier:Barotrauma.Identifier):Barotrauma.Prefab
---@param file Barotrauma.ContentFile
---@param element Barotrauma.ContentXElement
---@return Barotrauma.Prefab
_G['Prefab'] = function(file, element) end
---`Constructor Private Static`
---@overload fun():Barotrauma.Prefab
---@overload fun(file:Barotrauma.ContentFile, identifier:Barotrauma.Identifier):Barotrauma.Prefab
---@param file Barotrauma.ContentFile
---@param element Barotrauma.ContentXElement
---@return Barotrauma.Prefab
_G['Prefab'].__new = function(file, element) end
---`Constructor Public Instance`
---@overload fun():Barotrauma.Prefab
---@overload fun(file:Barotrauma.ContentFile, identifier:Barotrauma.Identifier):Barotrauma.Prefab
---@param file Barotrauma.ContentFile
---@param element Barotrauma.ContentXElement
---@return Barotrauma.Prefab
_G['Prefab'] = function(file, element) end
---`Constructor Public Instance`
---@overload fun():Barotrauma.Prefab
---@overload fun(file:Barotrauma.ContentFile, identifier:Barotrauma.Identifier):Barotrauma.Prefab
---@param file Barotrauma.ContentFile
---@param element Barotrauma.ContentXElement
---@return Barotrauma.Prefab
_G['Prefab'].__new = function(file, element) end

View File

@@ -0,0 +1,21 @@
---@meta
---@class Barotrauma.PrefabWithUintIdentifier : Barotrauma.Prefab
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field UintIdentifier System.UInt32
_G['PrefabWithUintIdentifier'] = {}
---`Constructor NonPublic Instance`
---@overload fun(file:Barotrauma.ContentFile, identifier:Barotrauma.Identifier):Barotrauma.PrefabWithUintIdentifier
---@param file Barotrauma.ContentFile
---@param element Barotrauma.ContentXElement
---@return Barotrauma.PrefabWithUintIdentifier
_G['PrefabWithUintIdentifier'] = function(file, element) end
---`Constructor NonPublic Instance`
---@overload fun(file:Barotrauma.ContentFile, identifier:Barotrauma.Identifier):Barotrauma.PrefabWithUintIdentifier
---@param file Barotrauma.ContentFile
---@param element Barotrauma.ContentXElement
---@return Barotrauma.PrefabWithUintIdentifier
_G['PrefabWithUintIdentifier'].__new = function(file, element) end

View File

@@ -0,0 +1,46 @@
---@meta
---@class FarseerPhysics.ConvertUnits : System.Object
---`Field Private Static`
---@field _displayUnitsToSimUnitsRatio System.Single
---`Field Private Static`
---@field _simUnitsToDisplayUnitsRatio System.Single
_G['ConvertUnits'] = {}
---`Method Public Static`
---@param displayUnitsPerSimUnit System.Single
_G['ConvertUnits'].SetDisplayUnitToSimUnitRatio = function(displayUnitsPerSimUnit) end
---`Method Public Static`
---@overload fun(simUnits:System.Single):(System.Single)
---@overload fun(simUnits:System.Int32):(System.Single)
---@overload fun(simUnits:Microsoft.Xna.Framework.Vector2):(Microsoft.Xna.Framework.Vector2)
---@overload fun(simUnits:Microsoft.Xna.Framework.Vector2-ref, displayUnits:Microsoft.Xna.Framework.Vector2-ref)
---@overload fun(simUnits:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Vector3)
---@overload fun(x:System.Single, y:System.Single):(Microsoft.Xna.Framework.Vector2)
---@param x System.Single
---@param y System.Single
---@param displayUnits Microsoft.Xna.Framework.Vector2-ref
_G['ConvertUnits'].ToDisplayUnits = function(x, y, displayUnits) end
---`Method Public Static`
---@overload fun(displayUnits:System.Single):(System.Single)
---@overload fun(displayUnits:System.Double):(System.Single)
---@overload fun(displayUnits:System.Int32):(System.Single)
---@overload fun(displayUnits:Microsoft.Xna.Framework.Vector2):(Microsoft.Xna.Framework.Vector2)
---@overload fun(displayUnits:Microsoft.Xna.Framework.Vector3):(Microsoft.Xna.Framework.Vector3)
---@overload fun(displayUnits:Microsoft.Xna.Framework.Vector2-ref, simUnits:Microsoft.Xna.Framework.Vector2-ref)
---@overload fun(x:System.Single, y:System.Single):(Microsoft.Xna.Framework.Vector2)
---@overload fun(x:System.Double, y:System.Double):(Microsoft.Xna.Framework.Vector2)
---@param x System.Single
---@param y System.Single
---@param simUnits Microsoft.Xna.Framework.Vector2-ref
_G['ConvertUnits'].ToSimUnits = function(x, y, simUnits) end
---`Constructor Private Static`
---@return FarseerPhysics.ConvertUnits
_G['ConvertUnits'] = function() end
---`Constructor Private Static`
---@return FarseerPhysics.ConvertUnits
_G['ConvertUnits'].__new = function() end

View File

@@ -0,0 +1,68 @@
---@meta
---@class Barotrauma.Rand : System.Object
---`Field Private Static`
---@field localRandom System.Random
---`Field Private Static`
---@field syncedRandom (System.Collections.Generic.Dictionary*1Barotrauma*Rand*RandSync*1System*Random)|({[Barotrauma.Rand.RandSync]:(System.Random)})
---`Field Public Static`
---@field ThreadId System.Int32
_G['Rand'] = {}
---`Method Public Static`
---@param randSync Barotrauma.Rand.RandSync
---@return System.Random
_G['Rand'].GetRNG = function(randSync) end
---`Method Public Static`
---@param seed System.Int32
_G['Rand'].SetLocalRandom = function(seed) end
---`Method Public Static`
---@param seed System.Int32
_G['Rand'].SetSyncedSeed = function(seed) end
---`Method Private Static`
---@param sync Barotrauma.Rand.RandSync
_G['Rand'].CheckRandThreadSafety = function(sync) end
---`Method Public Static`
---@overload fun(minimum:System.Single, maximum:System.Single, sync?:Barotrauma.Rand.RandSync):(System.Single)
---@overload fun(minimum:System.Double, maximum:System.Double, sync?:Barotrauma.Rand.RandSync):(System.Double)
---@param minimum System.Int32
---@param maximum System.Int32
---@param sync? Barotrauma.Rand.RandSync
---@return System.Int32
_G['Rand'].Range = function(minimum, maximum, sync) end
---`Method Public Static`
---@param max System.Int32
---@param sync? Barotrauma.Rand.RandSync
---@return System.Int32
_G['Rand'].Int = function(max, sync) end
---`Method Public Static`
---@overload fun(length:System.Single, sync?:Barotrauma.Rand.RandSync):(Microsoft.Xna.Framework.Vector2)
---@param length System.Double
---@param sync? Barotrauma.Rand.RandSync
---@return Voronoi2.DoubleVector2
_G['Rand'].Vector = function(length, sync) end
---`Method Public Static`
---@param sync? Barotrauma.Rand.RandSync
---@return System.Single
_G['Rand'].Value = function(sync) end
---`Method Public Static`
---@param randomAlpha? System.Boolean
---@param sync? Barotrauma.Rand.RandSync
---@return Microsoft.Xna.Framework.Color
_G['Rand'].Color = function(randomAlpha, sync) end
---`Constructor Private Static`
---@return Barotrauma.Rand
_G['Rand'] = function() end
---`Constructor Private Static`
---@return Barotrauma.Rand
_G['Rand'].__new = function() end

View File

@@ -0,0 +1,11 @@
---@meta
---@class Barotrauma.Rand.RandSync : System.Enum
---`Field Public Static`
---@field Unsynced Barotrauma.Rand.RandSync
---`Field Public Static`
---@field ServerAndClient Barotrauma.Rand.RandSync
---`Field Public Static`
---@field ClientOnly Barotrauma.Rand.RandSync
_G['Rand']['RandSync'] = {}
_G['RandSync'] = _G['Rand']['RandSync']

View File

@@ -0,0 +1,180 @@
---@meta
---@class Steamworks.SteamServer : Steamworks.SteamServerClass*1Steamworks*SteamServer
---`Field Private Static`
---@field OnValidateAuthTicketResponse (System.Action*1Steamworks*SteamId*1Steamworks*SteamId*1Steamworks*AuthResponse)|(fun(arg1:Steamworks.SteamId, arg2:Steamworks.SteamId, arg3:Steamworks.AuthResponse))
---`Field Private Static`
---@field OnSteamServersConnected (System.Action)|(fun())
---`Field Private Static`
---@field OnSteamServerConnectFailure (System.Action*1Steamworks*Result*1System*Boolean)|(fun(arg1:Steamworks.Result, arg2:System.Boolean))
---`Field Private Static`
---@field OnSteamServersDisconnected (System.Action*1Steamworks*Result)|(fun(obj:Steamworks.Result))
---`Field Private Static`
---@field OnSteamNetAuthenticationStatus (System.Action*1Steamworks*SteamNetworkingAvailability)|(fun(obj:Steamworks.SteamNetworkingAvailability))
---`Field Private Static`
---@field openInterfaces (System.Collections.Generic.List*1Steamworks*SteamClass)|(Steamworks.SteamClass[])
---`Field Private Static`
---@field _dedicatedServer System.Boolean
---`Field Private Static`
---@field _maxplayers System.Int32
---`Field Private Static`
---@field _botcount System.Int32
---`Field Private Static`
---@field _mapname System.String
---`Field Private Static`
---@field _modDir System.String
---`Field Private Static`
---@field _product System.String
---`Field Private Static`
---@field _gameDescription System.String
---`Field Private Static`
---@field _serverName System.String
---`Field Private Static`
---@field _passworded System.Boolean
---`Field Private Static`
---@field _gametags System.String
---`Field Private Static`
---@field KeyValue (System.Collections.Generic.Dictionary*1System*String*1System*String)|({[System.String]:(System.String)})
---`Getter NonPublic Static`
---@field Internal Steamworks.ISteamGameServer
---`Getter Public Static`
---@field IsValid System.Boolean
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field DedicatedServer System.Boolean
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field MaxPlayers System.Int32
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field BotCount System.Int32
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field MapName System.String
---`Getter Public Static`
---<br/>`Setter NonPublic Static`
---@field ModDir System.String
---`Getter Public Static`
---<br/>`Setter NonPublic Static`
---@field Product System.String
---`Getter Public Static`
---<br/>`Setter NonPublic Static`
---@field GameDescription System.String
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field ServerName System.String
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field Passworded System.Boolean
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field GameTags System.String
---`Getter Public Static`
---@field SteamId Steamworks.SteamId
---`Getter Public Static`
---@field LoggedOn System.Boolean
---`Getter Public Static`
---@field PublicIp System.Net.IPAddress
---<br/>`Setter Public Static`
---@field AutomaticHeartbeats System.Boolean
---<br/>`Setter Public Static`
---@field AdvertiseServer System.Boolean
_G['Steamworks']['SteamServer'] = {}
---`Method NonPublic Instance Virtual`
---@param server System.Boolean
---@return System.Boolean
_G['Steamworks']['SteamServer'].InitializeInterface = function(server) end
---`Method NonPublic Static`
_G['Steamworks']['SteamServer'].InstallEvents = function() end
---`Method Public Static`
---@param appid Steamworks.AppId
---@param init Steamworks.SteamServerInit
---@param asyncCallbacks? System.Boolean
_G['Steamworks']['SteamServer'].Init = function(appid, init, asyncCallbacks) end
---`Method NonPublic Static`
_G['Steamworks']['SteamServer'].AddInterface = function() end
---`Method NonPublic Static`
_G['Steamworks']['SteamServer'].ShutdownInterfaces = function() end
---`Method Public Static`
_G['Steamworks']['SteamServer'].Shutdown = function() end
---`Method Public Static`
_G['Steamworks']['SteamServer'].RunCallbacks = function() end
---`Method Public Static`
_G['Steamworks']['SteamServer'].LogOnAnonymous = function() end
---`Method Public Static`
_G['Steamworks']['SteamServer'].LogOff = function() end
---`Method Public Static`
_G['Steamworks']['SteamServer'].ForceHeartbeat = function() end
---`Method Public Static`
---@param steamid Steamworks.SteamId
---@param name System.String
---@param score System.Int32
_G['Steamworks']['SteamServer'].UpdatePlayer = function(steamid, name, score) end
---`Method Public Static`
---@param Key System.String
---@param Value System.String
_G['Steamworks']['SteamServer'].SetKey = function(Key, Value) end
---`Method Public Static`
_G['Steamworks']['SteamServer'].ClearKeys = function() end
---`Method Public Static`
---@param data (System.Byte-arr)|(System.Byte[])
---@param steamid Steamworks.SteamId
---@return Steamworks.BeginAuthResult
_G['Steamworks']['SteamServer'].BeginAuthSession = function(data, steamid) end
---`Method Public Static`
---@param steamid Steamworks.SteamId
_G['Steamworks']['SteamServer'].EndAuthSession = function(steamid) end
---`Method Public Static`
---@param packet Steamworks.Data.OutgoingPacket-ref
---@return System.Boolean
_G['Steamworks']['SteamServer'].GetOutgoingPacket = function(packet) end
---`Method Public Static`
---@overload fun(data:(System.Byte-arr)|(System.Byte[]), size:System.Int32, address:System.UInt32, port:System.UInt16)
---@param ptr System.IntPtr
---@param size System.Int32
---@param address System.UInt32
---@param port System.UInt16
_G['Steamworks']['SteamServer'].HandleIncomingPacket = function(ptr, size, address, port) end
---`Method Public Static`
---@param steamid Steamworks.SteamId
---@param appid Steamworks.AppId
---@return Steamworks.UserHasLicenseForAppResult
_G['Steamworks']['SteamServer'].UserHasLicenseForApp = function(steamid, appid) end
---`Constructor Public Instance`
---@overload fun():Steamworks.SteamServer
---@return Steamworks.SteamServer
_G['Steamworks']['SteamServer'] = function() end
---`Constructor Public Instance`
---@overload fun():Steamworks.SteamServer
---@return Steamworks.SteamServer
_G['Steamworks']['SteamServer'].__new = function() end
---`Constructor Private Static`
---@overload fun():Steamworks.SteamServer
---@return Steamworks.SteamServer
_G['Steamworks']['SteamServer'] = function() end
---`Constructor Private Static`
---@overload fun():Steamworks.SteamServer
---@return Steamworks.SteamServer
_G['Steamworks']['SteamServer'].__new = function() end

View File

@@ -0,0 +1,111 @@
---@meta
---@class Steamworks.Friend : System.ValueType
---`Field Public Instance`
---@field Id Steamworks.SteamId
---`Getter Public Instance`
---@field IsMe System.Boolean
---`Getter Public Instance`
---@field IsFriend System.Boolean
---`Getter Public Instance`
---@field IsBlocked System.Boolean
---`Getter Public Instance`
---@field IsPlayingThisGame System.Boolean
---`Getter Public Instance`
---@field IsOnline System.Boolean
---`Getter Public Instance`
---@field IsAway System.Boolean
---`Getter Public Instance`
---@field IsBusy System.Boolean
---`Getter Public Instance`
---@field IsSnoozing System.Boolean
---`Getter Public Instance`
---@field Relationship Steamworks.Relationship
---`Getter Public Instance`
---@field State Steamworks.FriendState
---`Getter Public Instance`
---@field Name System.String
---`Getter Public Instance`
---@field NameHistory (System.Collections.Generic.IEnumerable*1System*String)|(fun():(System.String))
---`Getter Public Instance`
---@field SteamLevel System.Int32
---`Getter Public Instance`
---@field GameInfo System.Nullable*1Steamworks*Friend*FriendGameInfo
_G['Steamworks']['Friend'] = {}
---`Method Public Instance Virtual`
---@return System.String
_G['Steamworks']['Friend'].ToString = function() end
---`Method Public Instance`
---@return System.Threading.Tasks.Task
_G['Steamworks']['Friend'].RequestInfoAsync = function() end
---`Method Public Instance`
---@param group_or_room Steamworks.SteamId
---@return System.Boolean
_G['Steamworks']['Friend'].IsIn = function(group_or_room) end
---`Method Public Instance`
---@return System.Threading.Tasks.Task*1System*Nullable*2Steamworks*Data*Image
_G['Steamworks']['Friend'].GetSmallAvatarAsync = function() end
---`Method Public Instance`
---@return System.Threading.Tasks.Task*1System*Nullable*2Steamworks*Data*Image
_G['Steamworks']['Friend'].GetMediumAvatarAsync = function() end
---`Method Public Instance`
---@return System.Threading.Tasks.Task*1System*Nullable*2Steamworks*Data*Image
_G['Steamworks']['Friend'].GetLargeAvatarAsync = function() end
---`Method Public Instance`
---@param key System.String
---@return System.String
_G['Steamworks']['Friend'].GetRichPresence = function(key) end
---`Method Public Instance`
---@param Text System.String
---@return System.Boolean
_G['Steamworks']['Friend'].InviteToGame = function(Text) end
---`Method Public Instance`
---@param message System.String
---@return System.Boolean
_G['Steamworks']['Friend'].SendMessage = function(message) end
---`Method Public Instance`
---@return System.Threading.Tasks.Task*1System*Boolean
_G['Steamworks']['Friend'].RequestUserStatsAsync = function() end
---`Method Public Instance`
---@param statName System.String
---@param defult? System.Single
---@return System.Single
_G['Steamworks']['Friend'].GetStatFloat = function(statName, defult) end
---`Method Public Instance`
---@param statName System.String
---@param defult? System.Int32
---@return System.Int32
_G['Steamworks']['Friend'].GetStatInt = function(statName, defult) end
---`Method Public Instance`
---@param statName System.String
---@param defult? System.Boolean
---@return System.Boolean
_G['Steamworks']['Friend'].GetAchievement = function(statName, defult) end
---`Method Public Instance`
---@param statName System.String
---@return System.DateTime
_G['Steamworks']['Friend'].GetAchievementUnlockTime = function(statName) end
---`Constructor Public Instance`
---@param steamid Steamworks.SteamId
---@return Steamworks.Friend
_G['Steamworks']['Friend'] = function(steamid) end
---`Constructor Public Instance`
---@param steamid Steamworks.SteamId
---@return Steamworks.Friend
_G['Steamworks']['Friend'].__new = function(steamid) end

View File

@@ -0,0 +1,206 @@
---@meta
---@class Steamworks.Ugc.Item : System.ValueType
---`Field NonPublic Instance`
---@field details Steamworks.Data.SteamUGCDetails_t
---`Field NonPublic Instance`
---@field _id Steamworks.Data.PublishedFileId
---`Field Public Instance`
---@field Children (Steamworks.Data.PublishedFileId-arr)|(Steamworks.Data.PublishedFileId[])
---`Getter Public Instance`
---@field Id Steamworks.Data.PublishedFileId
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field Title System.String
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field Description System.String
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field Tags (System.String-arr)|(System.String[])
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field KeyValueTags (System.Collections.Generic.Dictionary*1System*String*1System*String)|({[System.String]:(System.String)})
---`Getter Public Instance`
---@field CreatorApp Steamworks.AppId
---`Getter Public Instance`
---@field ConsumerApp Steamworks.AppId
---`Getter Public Instance`
---@field Owner Steamworks.Friend
---`Getter Public Instance`
---@field Score System.Single
---`Getter Public Instance`
---@field Created System.DateTime
---`Getter Public Instance`
---@field Updated System.DateTime
---`Getter Public Instance`
---@field LatestUpdateTime System.DateTime
---`Getter Public Instance`
---@field Visibility Steamworks.Ugc.Visibility
---`Getter Public Instance`
---@field IsBanned System.Boolean
---`Getter Public Instance`
---@field IsAcceptedForUse System.Boolean
---`Getter Public Instance`
---@field VotesUp System.UInt32
---`Getter Public Instance`
---@field VotesDown System.UInt32
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field AdditionalPreviews (Steamworks.Data.UgcAdditionalPreview-arr)|(Steamworks.Data.UgcAdditionalPreview[])
---`Getter Public Instance`
---@field IsInstalled System.Boolean
---`Getter Public Instance`
---@field IsDownloading System.Boolean
---`Getter Public Instance`
---@field IsDownloadPending System.Boolean
---`Getter Public Instance`
---@field IsSubscribed System.Boolean
---`Getter Public Instance`
---@field NeedsUpdate System.Boolean
---`Getter Public Instance`
---@field Directory System.String
---`Getter Public Instance`
---@field DownloadBytesTotal System.Int64
---`Getter Public Instance`
---@field DownloadBytesDownloaded System.Int64
---`Getter Public Instance`
---@field InstalledSize System.Int64
---`Getter Public Instance`
---@field InstallTime System.Nullable*1System*DateTime
---`Getter Public Instance`
---@field SizeOfFileInBytes System.Int64
---`Getter Public Instance`
---@field DownloadAmount System.Single
---`Getter Private Instance`
---@field State Steamworks.ItemState
---`Getter Public Instance`
---@field Url System.String
---`Getter Public Instance`
---@field ChangelogUrl System.String
---`Getter Public Instance`
---@field CommentsUrl System.String
---`Getter Public Instance`
---@field DiscussUrl System.String
---`Getter Public Instance`
---@field StatsUrl System.String
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field NumSubscriptions System.UInt64
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field NumFavorites System.UInt64
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field NumFollowers System.UInt64
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field NumUniqueSubscriptions System.UInt64
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field NumUniqueFavorites System.UInt64
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field NumUniqueFollowers System.UInt64
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field NumUniqueWebsiteViews System.UInt64
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field ReportScore System.UInt64
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field NumSecondsPlayed System.UInt64
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field NumPlaytimeSessions System.UInt64
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field NumComments System.UInt64
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field NumSecondsPlayedDuringTimePeriod System.UInt64
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field NumPlaytimeSessionsDuringTimePeriod System.UInt64
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field PreviewImageUrl System.String
---`Getter Public Instance`
---<br/>`Setter NonPublic Instance`
---@field Metadata System.String
---`Getter Public Instance`
---@field Result Steamworks.Result
_G['Steamworks']['Ugc']['Item'] = {}
---`Method Public Static`
---@param id Steamworks.Data.PublishedFileId
---@param maxageseconds? System.Int32
---@return System.Threading.Tasks.Task*1System*Nullable*2Steamworks*Ugc*Item
_G['Steamworks']['Ugc']['Item'].GetAsync = function(id, maxageseconds) end
---`Method NonPublic Static`
---@param details Steamworks.Data.SteamUGCDetails_t
---@return Steamworks.Ugc.Item
_G['Steamworks']['Ugc']['Item'].From = function(details) end
---`Method Public Instance`
---@param find System.String
---@return System.Boolean
_G['Steamworks']['Ugc']['Item'].HasTag = function(find) end
---`Method Public Instance`
---@return System.Threading.Tasks.Task*1System*Boolean
_G['Steamworks']['Ugc']['Item'].Subscribe = function() end
---`Method Public Instance`
---@param progress? (System.Action*1System*Single)|(fun(obj:System.Single))
---@param milisecondsUpdateDelay? System.Int32
---@param ct? System.Threading.CancellationToken
---@return System.Threading.Tasks.Task*1System*Boolean
_G['Steamworks']['Ugc']['Item'].DownloadAsync = function(progress, milisecondsUpdateDelay, ct) end
---`Method Public Instance`
---@return System.Threading.Tasks.Task*1System*Boolean
_G['Steamworks']['Ugc']['Item'].Unsubscribe = function() end
---`Method Public Instance`
---@return System.Threading.Tasks.Task*1System*Boolean
_G['Steamworks']['Ugc']['Item'].AddFavorite = function() end
---`Method Public Instance`
---@return System.Threading.Tasks.Task*1System*Boolean
_G['Steamworks']['Ugc']['Item'].RemoveFavorite = function() end
---`Method Public Instance`
---@param up System.Boolean
---@return System.Threading.Tasks.Task*1System*Nullable*2Steamworks*Result
_G['Steamworks']['Ugc']['Item'].Vote = function(up) end
---`Method Public Instance`
---@return System.Threading.Tasks.Task*1System*Nullable*2Steamworks*Ugc*UserItemVote
_G['Steamworks']['Ugc']['Item'].GetUserVote = function() end
---`Method Public Instance`
---@return Steamworks.Ugc.Editor
_G['Steamworks']['Ugc']['Item'].Edit = function() end
---`Method Public Instance`
---@param child Steamworks.Data.PublishedFileId
---@return System.Threading.Tasks.Task*1System*Boolean
_G['Steamworks']['Ugc']['Item'].AddDependency = function(child) end
---`Method Public Instance`
---@param child Steamworks.Data.PublishedFileId
---@return System.Threading.Tasks.Task*1System*Boolean
_G['Steamworks']['Ugc']['Item'].RemoveDependency = function(child) end
---`Constructor Public Instance`
---@param id Steamworks.Data.PublishedFileId
---@return Steamworks.Ugc.Item
_G['Steamworks']['Ugc']['Item'] = function(id) end
---`Constructor Public Instance`
---@param id Steamworks.Data.PublishedFileId
---@return Steamworks.Ugc.Item
_G['Steamworks']['Ugc']['Item'].__new = function(id) end

View File

@@ -0,0 +1,32 @@
---@meta
---@class Barotrauma.ContentPackageId : System.Object
---`Getter Public Instance Abstract Virtual`
---@field StringRepresentation System.String
_G['ContentPackageId'] = {}
---`Method Public Instance Virtual`
---@return System.String
_G['ContentPackageId'].ToString = function() end
---`Method Public Instance Abstract Virtual`
---@param obj System.Object
---@return System.Boolean
_G['ContentPackageId'].Equals = function(obj) end
---`Method Public Instance Abstract Virtual`
---@return System.Int32
_G['ContentPackageId'].GetHashCode = function() end
---`Method Public Static`
---@param s System.String
---@return Barotrauma.Option*1Barotrauma*ContentPackageId
_G['ContentPackageId'].Parse = function(s) end
---`Constructor NonPublic Instance`
---@return Barotrauma.ContentPackageId
_G['ContentPackageId'] = function() end
---`Constructor NonPublic Instance`
---@return Barotrauma.ContentPackageId
_G['ContentPackageId'].__new = function() end

View File

@@ -0,0 +1,34 @@
---@meta
---@class Barotrauma.SteamWorkshopId : Barotrauma.ContentPackageId
---`Field Public Instance`
---@field Value System.UInt64
---`Field Private Static`
---@field Prefix System.String
---`Getter Public Instance Virtual`
---@field StringRepresentation System.String
_G['SteamWorkshopId'] = {}
---`Method Public Instance Virtual`
---@param obj System.Object
---@return System.Boolean
_G['SteamWorkshopId'].Equals = function(obj) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['SteamWorkshopId'].GetHashCode = function() end
---`Method Public Static`
---@param s System.String
---@return Barotrauma.Option*1Barotrauma*SteamWorkshopId
_G['SteamWorkshopId'].Parse = function(s) end
---`Constructor Public Instance`
---@param value System.UInt64
---@return Barotrauma.SteamWorkshopId
_G['SteamWorkshopId'] = function(value) end
---`Constructor Public Instance`
---@param value System.UInt64
---@return Barotrauma.SteamWorkshopId
_G['SteamWorkshopId'].__new = function(value) end

View File

@@ -0,0 +1,121 @@
---@meta
---@class Barotrauma.Entity : System.Object
---`Field NonPublic Instance`
---@field aiTarget Barotrauma.AITarget
---`Field Public Instance`
---@field ID System.UInt16
---`Field Private Instance`
---@field spawnTime System.Double
---`Field Public Instance`
---@field CreationStackTrace System.String
---`Field Public Instance`
---@field CreationIndex System.UInt64
---`Field Private Static`
---@field dictionary (System.Collections.Generic.Dictionary*1System*UInt16*1Barotrauma*Entity)|({[System.UInt16]:(Barotrauma.Entity)})
---`Field Public Static`
---@field Spawner Barotrauma.EntitySpawner
---`Field Private Static`
---@field creationCounter System.UInt64
---`Field Private Static`
---@field creationCounterMutex System.Object
---`Field Public Static`
---@field NullEntityID System.UInt16
---`Field Public Static`
---@field EntitySpawnerID System.UInt16
---`Field Public Static`
---@field RespawnManagerID System.UInt16
---`Field Public Static`
---@field DummyID System.UInt16
---`Field Public Static`
---@field ReservedIDStart System.UInt16
---`Field Public Static`
---@field MaxEntityCount System.UInt16
---`Getter Public Static`
---@field EntityCount System.Int32
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field Removed System.Boolean
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field IdFreed System.Boolean
---`Getter Public Instance Virtual`
---@field SimPosition Microsoft.Xna.Framework.Vector2
---`Getter Public Instance Virtual`
---@field Position Microsoft.Xna.Framework.Vector2
---`Getter Public Instance Virtual`
---@field WorldPosition Microsoft.Xna.Framework.Vector2
---`Getter Public Instance Virtual`
---@field DrawPosition Microsoft.Xna.Framework.Vector2
---`Getter Public Instance Virtual`
---<br/>`Setter Public Instance`
---@field Submarine Barotrauma.Submarine
---`Getter Public Instance`
---@field AiTarget Barotrauma.AITarget
---`Getter Public Instance`
---<br/>`Setter Public Instance`
---@field InDetectable System.Boolean
---`Getter Public Instance`
---@field SpawnTime System.Double
---`Getter Public Instance`
---@field ErrorLine System.String
_G['Entity'] = {}
---`Method Public Static`
---@return (System.Collections.Generic.IReadOnlyCollection*1Barotrauma*Entity)|(fun():(Barotrauma.Entity))
_G['Entity'].GetEntities = function() end
---`Method NonPublic Instance Virtual`
---@param id System.UInt16
---@param submarine Barotrauma.Submarine
---@return System.UInt16
_G['Entity'].DetermineID = function(id, submarine) end
---`Method Private Static`
---@param idOffset System.UInt16
---@return System.UInt16
_G['Entity'].FindFreeId = function(idOffset) end
---`Method Public Static`
---@param minBlockSize System.Int32
---@return System.Int32
_G['Entity'].FindFreeIdBlock = function(minBlockSize) end
---`Method Public Static`
---@param ID System.UInt16
---@return Barotrauma.Entity
_G['Entity'].FindEntityByID = function(ID) end
---`Method Public Static`
_G['Entity'].RemoveAll = function() end
---`Method Public Instance`
_G['Entity'].FreeID = function() end
---`Method Public Instance Virtual`
_G['Entity'].Remove = function() end
---`Method Public Static`
---@param count System.Int32
---@param filename System.String
_G['Entity'].DumpIds = function(count, filename) end
---`Constructor Public Instance`
---@overload fun(submarine:Barotrauma.Submarine, id:System.UInt16):Barotrauma.Entity
---@return Barotrauma.Entity
_G['Entity'] = function() end
---`Constructor Public Instance`
---@overload fun(submarine:Barotrauma.Submarine, id:System.UInt16):Barotrauma.Entity
---@return Barotrauma.Entity
_G['Entity'].__new = function() end
---`Constructor Private Static`
---@overload fun(submarine:Barotrauma.Submarine, id:System.UInt16):Barotrauma.Entity
---@return Barotrauma.Entity
_G['Entity'] = function() end
---`Constructor Private Static`
---@overload fun(submarine:Barotrauma.Submarine, id:System.UInt16):Barotrauma.Entity
---@return Barotrauma.Entity
_G['Entity'].__new = function() end

View File

@@ -0,0 +1,12 @@
---@meta
---@class Barotrauma.CharacterTeamType : System.Enum
---`Field Public Static`
---@field None Barotrauma.CharacterTeamType
---`Field Public Static`
---@field Team1 Barotrauma.CharacterTeamType
---`Field Public Static`
---@field Team2 Barotrauma.CharacterTeamType
---`Field Public Static`
---@field FriendlyNPC Barotrauma.CharacterTeamType
_G['CharacterTeamType'] = {}

View File

@@ -0,0 +1,27 @@
---@meta
---@class Barotrauma.AttackResult : System.ValueType
---`Field Public Instance`
---@field Afflictions (System.Collections.Generic.List*1Barotrauma*Affliction)|(Barotrauma.Affliction[])
---`Field Public Instance`
---@field HitLimb Barotrauma.Limb
---`Field Public Instance`
---@field AppliedDamageModifiers (System.Collections.Generic.List*1Barotrauma*DamageModifier)|(Barotrauma.DamageModifier[])
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field Damage System.Single
_G['AttackResult'] = {}
---`Constructor Public Instance`
---@overload fun(afflictions:(System.Collections.Generic.List*1Barotrauma*Affliction)|(Barotrauma.Affliction[]), hitLimb:Barotrauma.Limb, appliedDamageModifiers?:(System.Collections.Generic.List*1Barotrauma*DamageModifier)|(Barotrauma.DamageModifier[])):Barotrauma.AttackResult
---@param damage System.Single
---@param appliedDamageModifiers? (System.Collections.Generic.List*1Barotrauma*DamageModifier)|(Barotrauma.DamageModifier[])
---@return Barotrauma.AttackResult
_G['AttackResult'] = function(damage, appliedDamageModifiers) end
---`Constructor Public Instance`
---@overload fun(afflictions:(System.Collections.Generic.List*1Barotrauma*Affliction)|(Barotrauma.Affliction[]), hitLimb:Barotrauma.Limb, appliedDamageModifiers?:(System.Collections.Generic.List*1Barotrauma*DamageModifier)|(Barotrauma.DamageModifier[])):Barotrauma.AttackResult
---@param damage System.Single
---@param appliedDamageModifiers? (System.Collections.Generic.List*1Barotrauma*DamageModifier)|(Barotrauma.DamageModifier[])
---@return Barotrauma.AttackResult
_G['AttackResult'].__new = function(damage, appliedDamageModifiers) end

View File

@@ -0,0 +1,30 @@
---@meta
---@class Barotrauma.AbilityFlags : System.Enum
---`Field Public Static`
---@field None Barotrauma.AbilityFlags
---`Field Public Static`
---@field MustWalk Barotrauma.AbilityFlags
---`Field Public Static`
---@field ImmuneToPressure Barotrauma.AbilityFlags
---`Field Public Static`
---@field IgnoredByEnemyAI Barotrauma.AbilityFlags
---`Field Public Static`
---@field MoveNormallyWhileDragging Barotrauma.AbilityFlags
---`Field Public Static`
---@field CanTinker Barotrauma.AbilityFlags
---`Field Public Static`
---@field CanTinkerFabricatorsAndDeconstructors Barotrauma.AbilityFlags
---`Field Public Static`
---@field TinkeringPowersDevices Barotrauma.AbilityFlags
---`Field Public Static`
---@field GainSkillPastMaximum Barotrauma.AbilityFlags
---`Field Public Static`
---@field RetainExperienceForNewCharacter Barotrauma.AbilityFlags
---`Field Public Static`
---@field AllowSecondOrderedTarget Barotrauma.AbilityFlags
---`Field Public Static`
---@field AlwaysStayConscious Barotrauma.AbilityFlags
---`Field Public Static`
---@field CanNotDieToAfflictions Barotrauma.AbilityFlags
_G['AbilityFlags'] = {}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,84 @@
---@meta
---@class Barotrauma.Option*1Barotrauma*Character : System.ValueType
---`Field Private Instance`
---@field hasValue System.Boolean
---`Field Private Instance`
---@field value Barotrauma.Character
_G['Option*1Barotrauma*Character'] = {}
---`Method Public Instance`
---@return System.Boolean
_G['Option*1Barotrauma*Character'].IsSome = function() end
---`Method Public Instance`
---@return System.Boolean
_G['Option*1Barotrauma*Character'].IsNone = function() end
---`Method Public Instance`
---@overload fun(outValue:Barotrauma.T1-ref):(System.Boolean)
---@param outValue Barotrauma.Character-ref
---@return System.Boolean
_G['Option*1Barotrauma*Character'].TryUnwrap = function(outValue) end
---`Method Public Instance`
---@param selector (System.Func*1Barotrauma*Character*1Barotrauma*Option*TType)|(fun(arg:Barotrauma.Character):(Barotrauma.Option.TType))
---@return Barotrauma.Option*1Barotrauma*Option*TType
_G['Option*1Barotrauma*Character'].Select = function(selector) end
---`Method Public Instance`
---@overload fun(binder:(System.Func*1Barotrauma*Character*1Barotrauma*Option*2Barotrauma*Option*TType)|(fun(arg:Barotrauma.Character):(Barotrauma.Option*1Barotrauma*Option*TType))):(Barotrauma.Option*1Barotrauma*Option*TType)
---@param binder (System.Func*1Barotrauma*Character*1System*Threading*Tasks*Task*2Barotrauma*Option*3Barotrauma*Option*TType)|(fun(arg:Barotrauma.Character):(System.Threading.Tasks.Task*1Barotrauma*Option*2Barotrauma*Option*TType))
---@return System.Threading.Tasks.Task*1Barotrauma*Option*2Barotrauma*Option*TType
_G['Option*1Barotrauma*Character'].Bind = function(binder) end
---`Method Public Instance`
---@overload fun(some:(System.Func*1Barotrauma*Character*1Barotrauma*Character)|(fun(arg:Barotrauma.Character):(Barotrauma.Character)), none:(System.Func*1Barotrauma*Character)|(fun():(Barotrauma.Character))):(Barotrauma.Character)
---@param some (System.Action*1Barotrauma*Character)|(fun(obj:Barotrauma.Character))
---@param none (System.Action)|(fun())
_G['Option*1Barotrauma*Character'].Match = function(some, none) end
---`Method Public Instance`
---@overload fun(fallback:Barotrauma.Character):(Barotrauma.Character)
---@param fallback Barotrauma.Option*1Barotrauma*Character
---@return Barotrauma.Option*1Barotrauma*Character
_G['Option*1Barotrauma*Character'].Fallback = function(fallback) end
---`Method Public Static`
---@param value Barotrauma.Character
---@return Barotrauma.Option*1Barotrauma*Character
_G['Option*1Barotrauma*Character'].Some = function(value) end
---`Method Public Instance Virtual`
---@param obj System.Object
---@return System.Boolean
_G['Option*1Barotrauma*Character'].Equals = function(obj) end
---`Method Public Instance`
---@param otherValue Barotrauma.Character
---@return System.Boolean
_G['Option*1Barotrauma*Character'].ValueEquals = function(otherValue) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['Option*1Barotrauma*Character'].GetHashCode = function() end
---`Method Public Static`
---@return Barotrauma.Option*1Barotrauma*Character
_G['Option*1Barotrauma*Character'].None = function() end
---`Method Public Instance Virtual`
---@return System.String
_G['Option*1Barotrauma*Character'].ToString = function() end
---`Constructor Private Instance`
---@param hasValue System.Boolean
---@param value Barotrauma.Character
---@return Barotrauma.Option*1Barotrauma*Character
_G['Option*1Barotrauma*Character'] = function(hasValue, value) end
---`Constructor Private Instance`
---@param hasValue System.Boolean
---@param value Barotrauma.Character
---@return Barotrauma.Option*1Barotrauma*Character
_G['Option*1Barotrauma*Character'].__new = function(hasValue, value) end

View File

@@ -0,0 +1,34 @@
---@meta
---@class Barotrauma.Networking.AccountId : System.Object
---`Getter Public Instance Abstract Virtual`
---@field StringRepresentation System.String
---`Getter Public Instance Abstract Virtual`
---@field EosStringRepresentation System.String
_G['AccountId'] = {}
---`Method Public Static`
---@param str System.String
---@return Barotrauma.Option*1Barotrauma*Networking*AccountId
_G['AccountId'].Parse = function(str) end
---`Method Public Instance Abstract Virtual`
---@param obj System.Object
---@return System.Boolean
_G['AccountId'].Equals = function(obj) end
---`Method Public Instance Abstract Virtual`
---@return System.Int32
_G['AccountId'].GetHashCode = function() end
---`Method Public Instance Virtual`
---@return System.String
_G['AccountId'].ToString = function() end
---`Constructor NonPublic Instance`
---@return Barotrauma.Networking.AccountId
_G['AccountId'] = function() end
---`Constructor NonPublic Instance`
---@return Barotrauma.Networking.AccountId
_G['AccountId'].__new = function() end

View File

@@ -0,0 +1,84 @@
---@meta
---@class Barotrauma.Option*1Barotrauma*Networking*AccountId : System.ValueType
---`Field Private Instance`
---@field hasValue System.Boolean
---`Field Private Instance`
---@field value Barotrauma.Networking.AccountId
_G['Option*1Barotrauma*Networking*AccountId'] = {}
---`Method Public Instance`
---@return System.Boolean
_G['Option*1Barotrauma*Networking*AccountId'].IsSome = function() end
---`Method Public Instance`
---@return System.Boolean
_G['Option*1Barotrauma*Networking*AccountId'].IsNone = function() end
---`Method Public Instance`
---@overload fun(outValue:Barotrauma.T1-ref):(System.Boolean)
---@param outValue Barotrauma.Networking.AccountId-ref
---@return System.Boolean
_G['Option*1Barotrauma*Networking*AccountId'].TryUnwrap = function(outValue) end
---`Method Public Instance`
---@param selector (System.Func*1Barotrauma*Networking*AccountId*1Barotrauma*Option*TType)|(fun(arg:Barotrauma.Networking.AccountId):(Barotrauma.Option.TType))
---@return Barotrauma.Option*1Barotrauma*Option*TType
_G['Option*1Barotrauma*Networking*AccountId'].Select = function(selector) end
---`Method Public Instance`
---@overload fun(binder:(System.Func*1Barotrauma*Networking*AccountId*1Barotrauma*Option*2Barotrauma*Option*TType)|(fun(arg:Barotrauma.Networking.AccountId):(Barotrauma.Option*1Barotrauma*Option*TType))):(Barotrauma.Option*1Barotrauma*Option*TType)
---@param binder (System.Func*1Barotrauma*Networking*AccountId*1System*Threading*Tasks*Task*2Barotrauma*Option*3Barotrauma*Option*TType)|(fun(arg:Barotrauma.Networking.AccountId):(System.Threading.Tasks.Task*1Barotrauma*Option*2Barotrauma*Option*TType))
---@return System.Threading.Tasks.Task*1Barotrauma*Option*2Barotrauma*Option*TType
_G['Option*1Barotrauma*Networking*AccountId'].Bind = function(binder) end
---`Method Public Instance`
---@overload fun(some:(System.Func*1Barotrauma*Networking*AccountId*1Barotrauma*Networking*AccountId)|(fun(arg:Barotrauma.Networking.AccountId):(Barotrauma.Networking.AccountId)), none:(System.Func*1Barotrauma*Networking*AccountId)|(fun():(Barotrauma.Networking.AccountId))):(Barotrauma.Networking.AccountId)
---@param some (System.Action*1Barotrauma*Networking*AccountId)|(fun(obj:Barotrauma.Networking.AccountId))
---@param none (System.Action)|(fun())
_G['Option*1Barotrauma*Networking*AccountId'].Match = function(some, none) end
---`Method Public Instance`
---@overload fun(fallback:Barotrauma.Networking.AccountId):(Barotrauma.Networking.AccountId)
---@param fallback Barotrauma.Option*1Barotrauma*Networking*AccountId
---@return Barotrauma.Option*1Barotrauma*Networking*AccountId
_G['Option*1Barotrauma*Networking*AccountId'].Fallback = function(fallback) end
---`Method Public Static`
---@param value Barotrauma.Networking.AccountId
---@return Barotrauma.Option*1Barotrauma*Networking*AccountId
_G['Option*1Barotrauma*Networking*AccountId'].Some = function(value) end
---`Method Public Instance Virtual`
---@param obj System.Object
---@return System.Boolean
_G['Option*1Barotrauma*Networking*AccountId'].Equals = function(obj) end
---`Method Public Instance`
---@param otherValue Barotrauma.Networking.AccountId
---@return System.Boolean
_G['Option*1Barotrauma*Networking*AccountId'].ValueEquals = function(otherValue) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['Option*1Barotrauma*Networking*AccountId'].GetHashCode = function() end
---`Method Public Static`
---@return Barotrauma.Option*1Barotrauma*Networking*AccountId
_G['Option*1Barotrauma*Networking*AccountId'].None = function() end
---`Method Public Instance Virtual`
---@return System.String
_G['Option*1Barotrauma*Networking*AccountId'].ToString = function() end
---`Constructor Private Instance`
---@param hasValue System.Boolean
---@param value Barotrauma.Networking.AccountId
---@return Barotrauma.Option*1Barotrauma*Networking*AccountId
_G['Option*1Barotrauma*Networking*AccountId'] = function(hasValue, value) end
---`Constructor Private Instance`
---@param hasValue System.Boolean
---@param value Barotrauma.Networking.AccountId
---@return Barotrauma.Option*1Barotrauma*Networking*AccountId
_G['Option*1Barotrauma*Networking*AccountId'].__new = function(hasValue, value) end

View File

@@ -0,0 +1,78 @@
---@meta
---@class Barotrauma.Networking.SteamId : Barotrauma.Networking.AccountId
---`Field Public Instance`
---@field Value System.UInt64
---`Field Private Static`
---@field steam64Prefix System.String
---`Field Private Static`
---@field steam40Prefix System.String
---`Field Private Static`
---@field usualAccountInstance System.UInt64
---`Field Private Static`
---@field usualAccountType System.UInt64
---`Getter Public Instance Virtual`
---@field StringRepresentation System.String
---`Getter Public Instance Virtual`
---@field EosStringRepresentation System.String
_G['SteamId'] = {}
---`Method Private Static`
---@param id System.UInt64
---@param offset System.Int32
---@param numberOfBits System.Int32
---@return System.UInt64
_G['SteamId'].ExtractBits = function(id, offset, numberOfBits) end
---`Method Private Static`
---@param id System.UInt64
---@return System.UInt64
_G['SteamId'].ExtractY = function(id) end
---`Method Private Static`
---@param id System.UInt64
---@return System.UInt64
_G['SteamId'].ExtractAccountNumberRemainder = function(id) end
---`Method Private Static`
---@param id System.UInt64
---@return System.UInt64
_G['SteamId'].ExtractAccountInstance = function(id) end
---`Method Private Static`
---@param id System.UInt64
---@return System.UInt64
_G['SteamId'].ExtractAccountType = function(id) end
---`Method Private Static`
---@param id System.UInt64
---@return System.UInt64
_G['SteamId'].ExtractUniverse = function(id) end
---`Method Public Instance Virtual`
---@return System.String
_G['SteamId'].ToString = function() end
---`Method Public Static`
---@param str System.String
---@return Barotrauma.Option*1Barotrauma*Networking*SteamId
_G['SteamId'].Parse = function(str) end
---`Method Public Instance Virtual`
---@param obj System.Object
---@return System.Boolean
_G['SteamId'].Equals = function(obj) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['SteamId'].GetHashCode = function() end
---`Constructor Public Instance`
---@param value System.UInt64
---@return Barotrauma.Networking.SteamId
_G['SteamId'] = function(value) end
---`Constructor Public Instance`
---@param value System.UInt64
---@return Barotrauma.Networking.SteamId
_G['SteamId'].__new = function(value) end

View File

@@ -0,0 +1,84 @@
---@meta
---@class Barotrauma.Option*1Barotrauma*Networking*SteamId : System.ValueType
---`Field Private Instance`
---@field hasValue System.Boolean
---`Field Private Instance`
---@field value Barotrauma.Networking.SteamId
_G['Option*1Barotrauma*Networking*SteamId'] = {}
---`Method Public Instance`
---@return System.Boolean
_G['Option*1Barotrauma*Networking*SteamId'].IsSome = function() end
---`Method Public Instance`
---@return System.Boolean
_G['Option*1Barotrauma*Networking*SteamId'].IsNone = function() end
---`Method Public Instance`
---@overload fun(outValue:Barotrauma.T1-ref):(System.Boolean)
---@param outValue Barotrauma.Networking.SteamId-ref
---@return System.Boolean
_G['Option*1Barotrauma*Networking*SteamId'].TryUnwrap = function(outValue) end
---`Method Public Instance`
---@param selector (System.Func*1Barotrauma*Networking*SteamId*1Barotrauma*Option*TType)|(fun(arg:Barotrauma.Networking.SteamId):(Barotrauma.Option.TType))
---@return Barotrauma.Option*1Barotrauma*Option*TType
_G['Option*1Barotrauma*Networking*SteamId'].Select = function(selector) end
---`Method Public Instance`
---@overload fun(binder:(System.Func*1Barotrauma*Networking*SteamId*1Barotrauma*Option*2Barotrauma*Option*TType)|(fun(arg:Barotrauma.Networking.SteamId):(Barotrauma.Option*1Barotrauma*Option*TType))):(Barotrauma.Option*1Barotrauma*Option*TType)
---@param binder (System.Func*1Barotrauma*Networking*SteamId*1System*Threading*Tasks*Task*2Barotrauma*Option*3Barotrauma*Option*TType)|(fun(arg:Barotrauma.Networking.SteamId):(System.Threading.Tasks.Task*1Barotrauma*Option*2Barotrauma*Option*TType))
---@return System.Threading.Tasks.Task*1Barotrauma*Option*2Barotrauma*Option*TType
_G['Option*1Barotrauma*Networking*SteamId'].Bind = function(binder) end
---`Method Public Instance`
---@overload fun(some:(System.Func*1Barotrauma*Networking*SteamId*1Barotrauma*Networking*SteamId)|(fun(arg:Barotrauma.Networking.SteamId):(Barotrauma.Networking.SteamId)), none:(System.Func*1Barotrauma*Networking*SteamId)|(fun():(Barotrauma.Networking.SteamId))):(Barotrauma.Networking.SteamId)
---@param some (System.Action*1Barotrauma*Networking*SteamId)|(fun(obj:Barotrauma.Networking.SteamId))
---@param none (System.Action)|(fun())
_G['Option*1Barotrauma*Networking*SteamId'].Match = function(some, none) end
---`Method Public Instance`
---@overload fun(fallback:Barotrauma.Networking.SteamId):(Barotrauma.Networking.SteamId)
---@param fallback Barotrauma.Option*1Barotrauma*Networking*SteamId
---@return Barotrauma.Option*1Barotrauma*Networking*SteamId
_G['Option*1Barotrauma*Networking*SteamId'].Fallback = function(fallback) end
---`Method Public Static`
---@param value Barotrauma.Networking.SteamId
---@return Barotrauma.Option*1Barotrauma*Networking*SteamId
_G['Option*1Barotrauma*Networking*SteamId'].Some = function(value) end
---`Method Public Instance Virtual`
---@param obj System.Object
---@return System.Boolean
_G['Option*1Barotrauma*Networking*SteamId'].Equals = function(obj) end
---`Method Public Instance`
---@param otherValue Barotrauma.Networking.SteamId
---@return System.Boolean
_G['Option*1Barotrauma*Networking*SteamId'].ValueEquals = function(otherValue) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['Option*1Barotrauma*Networking*SteamId'].GetHashCode = function() end
---`Method Public Static`
---@return Barotrauma.Option*1Barotrauma*Networking*SteamId
_G['Option*1Barotrauma*Networking*SteamId'].None = function() end
---`Method Public Instance Virtual`
---@return System.String
_G['Option*1Barotrauma*Networking*SteamId'].ToString = function() end
---`Constructor Private Instance`
---@param hasValue System.Boolean
---@param value Barotrauma.Networking.SteamId
---@return Barotrauma.Option*1Barotrauma*Networking*SteamId
_G['Option*1Barotrauma*Networking*SteamId'] = function(hasValue, value) end
---`Constructor Private Instance`
---@param hasValue System.Boolean
---@param value Barotrauma.Networking.SteamId
---@return Barotrauma.Option*1Barotrauma*Networking*SteamId
_G['Option*1Barotrauma*Networking*SteamId'].__new = function(hasValue, value) end

View File

@@ -0,0 +1,34 @@
---@meta
---@class Barotrauma.Networking.EpicAccountId : Barotrauma.Networking.AccountId
---`Field Private Static`
---@field prefix System.String
---`Getter Public Instance Virtual`
---@field StringRepresentation System.String
---`Getter Public Instance Virtual`
---@field EosStringRepresentation System.String
_G['EpicAccountId'] = {}
---`Method Public Instance Virtual`
---@param obj System.Object
---@return System.Boolean
_G['EpicAccountId'].Equals = function(obj) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['EpicAccountId'].GetHashCode = function() end
---`Method Public Static`
---@param str System.String
---@return Barotrauma.Option*1Barotrauma*Networking*EpicAccountId
_G['EpicAccountId'].Parse = function(str) end
---`Constructor Private Instance`
---@param value System.String
---@return Barotrauma.Networking.EpicAccountId
_G['EpicAccountId'] = function(value) end
---`Constructor Private Instance`
---@param value System.String
---@return Barotrauma.Networking.EpicAccountId
_G['EpicAccountId'].__new = function(value) end

View File

@@ -0,0 +1,84 @@
---@meta
---@class Barotrauma.Option*1Barotrauma*Networking*EpicAccountId : System.ValueType
---`Field Private Instance`
---@field hasValue System.Boolean
---`Field Private Instance`
---@field value Barotrauma.Networking.EpicAccountId
_G['Option*1Barotrauma*Networking*EpicAccountId'] = {}
---`Method Public Instance`
---@return System.Boolean
_G['Option*1Barotrauma*Networking*EpicAccountId'].IsSome = function() end
---`Method Public Instance`
---@return System.Boolean
_G['Option*1Barotrauma*Networking*EpicAccountId'].IsNone = function() end
---`Method Public Instance`
---@overload fun(outValue:Barotrauma.T1-ref):(System.Boolean)
---@param outValue Barotrauma.Networking.EpicAccountId-ref
---@return System.Boolean
_G['Option*1Barotrauma*Networking*EpicAccountId'].TryUnwrap = function(outValue) end
---`Method Public Instance`
---@param selector (System.Func*1Barotrauma*Networking*EpicAccountId*1Barotrauma*Option*TType)|(fun(arg:Barotrauma.Networking.EpicAccountId):(Barotrauma.Option.TType))
---@return Barotrauma.Option*1Barotrauma*Option*TType
_G['Option*1Barotrauma*Networking*EpicAccountId'].Select = function(selector) end
---`Method Public Instance`
---@overload fun(binder:(System.Func*1Barotrauma*Networking*EpicAccountId*1Barotrauma*Option*2Barotrauma*Option*TType)|(fun(arg:Barotrauma.Networking.EpicAccountId):(Barotrauma.Option*1Barotrauma*Option*TType))):(Barotrauma.Option*1Barotrauma*Option*TType)
---@param binder (System.Func*1Barotrauma*Networking*EpicAccountId*1System*Threading*Tasks*Task*2Barotrauma*Option*3Barotrauma*Option*TType)|(fun(arg:Barotrauma.Networking.EpicAccountId):(System.Threading.Tasks.Task*1Barotrauma*Option*2Barotrauma*Option*TType))
---@return System.Threading.Tasks.Task*1Barotrauma*Option*2Barotrauma*Option*TType
_G['Option*1Barotrauma*Networking*EpicAccountId'].Bind = function(binder) end
---`Method Public Instance`
---@overload fun(some:(System.Func*1Barotrauma*Networking*EpicAccountId*1Barotrauma*Networking*EpicAccountId)|(fun(arg:Barotrauma.Networking.EpicAccountId):(Barotrauma.Networking.EpicAccountId)), none:(System.Func*1Barotrauma*Networking*EpicAccountId)|(fun():(Barotrauma.Networking.EpicAccountId))):(Barotrauma.Networking.EpicAccountId)
---@param some (System.Action*1Barotrauma*Networking*EpicAccountId)|(fun(obj:Barotrauma.Networking.EpicAccountId))
---@param none (System.Action)|(fun())
_G['Option*1Barotrauma*Networking*EpicAccountId'].Match = function(some, none) end
---`Method Public Instance`
---@overload fun(fallback:Barotrauma.Networking.EpicAccountId):(Barotrauma.Networking.EpicAccountId)
---@param fallback Barotrauma.Option*1Barotrauma*Networking*EpicAccountId
---@return Barotrauma.Option*1Barotrauma*Networking*EpicAccountId
_G['Option*1Barotrauma*Networking*EpicAccountId'].Fallback = function(fallback) end
---`Method Public Static`
---@param value Barotrauma.Networking.EpicAccountId
---@return Barotrauma.Option*1Barotrauma*Networking*EpicAccountId
_G['Option*1Barotrauma*Networking*EpicAccountId'].Some = function(value) end
---`Method Public Instance Virtual`
---@param obj System.Object
---@return System.Boolean
_G['Option*1Barotrauma*Networking*EpicAccountId'].Equals = function(obj) end
---`Method Public Instance`
---@param otherValue Barotrauma.Networking.EpicAccountId
---@return System.Boolean
_G['Option*1Barotrauma*Networking*EpicAccountId'].ValueEquals = function(otherValue) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['Option*1Barotrauma*Networking*EpicAccountId'].GetHashCode = function() end
---`Method Public Static`
---@return Barotrauma.Option*1Barotrauma*Networking*EpicAccountId
_G['Option*1Barotrauma*Networking*EpicAccountId'].None = function() end
---`Method Public Instance Virtual`
---@return System.String
_G['Option*1Barotrauma*Networking*EpicAccountId'].ToString = function() end
---`Constructor Private Instance`
---@param hasValue System.Boolean
---@param value Barotrauma.Networking.EpicAccountId
---@return Barotrauma.Option*1Barotrauma*Networking*EpicAccountId
_G['Option*1Barotrauma*Networking*EpicAccountId'] = function(hasValue, value) end
---`Constructor Private Instance`
---@param hasValue System.Boolean
---@param value Barotrauma.Networking.EpicAccountId
---@return Barotrauma.Option*1Barotrauma*Networking*EpicAccountId
_G['Option*1Barotrauma*Networking*EpicAccountId'].__new = function(hasValue, value) end

View File

@@ -0,0 +1,84 @@
---@meta
---@class Barotrauma.Option*1Barotrauma*ContentPackageId : System.ValueType
---`Field Private Instance`
---@field hasValue System.Boolean
---`Field Private Instance`
---@field value Barotrauma.ContentPackageId
_G['Option*1Barotrauma*ContentPackageId'] = {}
---`Method Public Instance`
---@return System.Boolean
_G['Option*1Barotrauma*ContentPackageId'].IsSome = function() end
---`Method Public Instance`
---@return System.Boolean
_G['Option*1Barotrauma*ContentPackageId'].IsNone = function() end
---`Method Public Instance`
---@overload fun(outValue:Barotrauma.T1-ref):(System.Boolean)
---@param outValue Barotrauma.ContentPackageId-ref
---@return System.Boolean
_G['Option*1Barotrauma*ContentPackageId'].TryUnwrap = function(outValue) end
---`Method Public Instance`
---@param selector (System.Func*1Barotrauma*ContentPackageId*1Barotrauma*Option*TType)|(fun(arg:Barotrauma.ContentPackageId):(Barotrauma.Option.TType))
---@return Barotrauma.Option*1Barotrauma*Option*TType
_G['Option*1Barotrauma*ContentPackageId'].Select = function(selector) end
---`Method Public Instance`
---@overload fun(binder:(System.Func*1Barotrauma*ContentPackageId*1Barotrauma*Option*2Barotrauma*Option*TType)|(fun(arg:Barotrauma.ContentPackageId):(Barotrauma.Option*1Barotrauma*Option*TType))):(Barotrauma.Option*1Barotrauma*Option*TType)
---@param binder (System.Func*1Barotrauma*ContentPackageId*1System*Threading*Tasks*Task*2Barotrauma*Option*3Barotrauma*Option*TType)|(fun(arg:Barotrauma.ContentPackageId):(System.Threading.Tasks.Task*1Barotrauma*Option*2Barotrauma*Option*TType))
---@return System.Threading.Tasks.Task*1Barotrauma*Option*2Barotrauma*Option*TType
_G['Option*1Barotrauma*ContentPackageId'].Bind = function(binder) end
---`Method Public Instance`
---@overload fun(some:(System.Func*1Barotrauma*ContentPackageId*1Barotrauma*ContentPackageId)|(fun(arg:Barotrauma.ContentPackageId):(Barotrauma.ContentPackageId)), none:(System.Func*1Barotrauma*ContentPackageId)|(fun():(Barotrauma.ContentPackageId))):(Barotrauma.ContentPackageId)
---@param some (System.Action*1Barotrauma*ContentPackageId)|(fun(obj:Barotrauma.ContentPackageId))
---@param none (System.Action)|(fun())
_G['Option*1Barotrauma*ContentPackageId'].Match = function(some, none) end
---`Method Public Instance`
---@overload fun(fallback:Barotrauma.ContentPackageId):(Barotrauma.ContentPackageId)
---@param fallback Barotrauma.Option*1Barotrauma*ContentPackageId
---@return Barotrauma.Option*1Barotrauma*ContentPackageId
_G['Option*1Barotrauma*ContentPackageId'].Fallback = function(fallback) end
---`Method Public Static`
---@param value Barotrauma.ContentPackageId
---@return Barotrauma.Option*1Barotrauma*ContentPackageId
_G['Option*1Barotrauma*ContentPackageId'].Some = function(value) end
---`Method Public Instance Virtual`
---@param obj System.Object
---@return System.Boolean
_G['Option*1Barotrauma*ContentPackageId'].Equals = function(obj) end
---`Method Public Instance`
---@param otherValue Barotrauma.ContentPackageId
---@return System.Boolean
_G['Option*1Barotrauma*ContentPackageId'].ValueEquals = function(otherValue) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['Option*1Barotrauma*ContentPackageId'].GetHashCode = function() end
---`Method Public Static`
---@return Barotrauma.Option*1Barotrauma*ContentPackageId
_G['Option*1Barotrauma*ContentPackageId'].None = function() end
---`Method Public Instance Virtual`
---@return System.String
_G['Option*1Barotrauma*ContentPackageId'].ToString = function() end
---`Constructor Private Instance`
---@param hasValue System.Boolean
---@param value Barotrauma.ContentPackageId
---@return Barotrauma.Option*1Barotrauma*ContentPackageId
_G['Option*1Barotrauma*ContentPackageId'] = function(hasValue, value) end
---`Constructor Private Instance`
---@param hasValue System.Boolean
---@param value Barotrauma.ContentPackageId
---@return Barotrauma.Option*1Barotrauma*ContentPackageId
_G['Option*1Barotrauma*ContentPackageId'].__new = function(hasValue, value) end

View File

@@ -0,0 +1,84 @@
---@meta
---@class Barotrauma.Option*1System*DateTime : System.ValueType
---`Field Private Instance`
---@field hasValue System.Boolean
---`Field Private Instance`
---@field value System.DateTime
_G['Option*1System*DateTime'] = {}
---`Method Public Instance`
---@return System.Boolean
_G['Option*1System*DateTime'].IsSome = function() end
---`Method Public Instance`
---@return System.Boolean
_G['Option*1System*DateTime'].IsNone = function() end
---`Method Public Instance`
---@overload fun(outValue:Barotrauma.T1-ref):(System.Boolean)
---@param outValue System.DateTime-ref
---@return System.Boolean
_G['Option*1System*DateTime'].TryUnwrap = function(outValue) end
---`Method Public Instance`
---@param selector (System.Func*1System*DateTime*1Barotrauma*Option*TType)|(fun(arg:System.DateTime):(Barotrauma.Option.TType))
---@return Barotrauma.Option*1Barotrauma*Option*TType
_G['Option*1System*DateTime'].Select = function(selector) end
---`Method Public Instance`
---@overload fun(binder:(System.Func*1System*DateTime*1Barotrauma*Option*2Barotrauma*Option*TType)|(fun(arg:System.DateTime):(Barotrauma.Option*1Barotrauma*Option*TType))):(Barotrauma.Option*1Barotrauma*Option*TType)
---@param binder (System.Func*1System*DateTime*1System*Threading*Tasks*Task*2Barotrauma*Option*3Barotrauma*Option*TType)|(fun(arg:System.DateTime):(System.Threading.Tasks.Task*1Barotrauma*Option*2Barotrauma*Option*TType))
---@return System.Threading.Tasks.Task*1Barotrauma*Option*2Barotrauma*Option*TType
_G['Option*1System*DateTime'].Bind = function(binder) end
---`Method Public Instance`
---@overload fun(some:(System.Func*1System*DateTime*1System*DateTime)|(fun(arg:System.DateTime):(System.DateTime)), none:(System.Func*1System*DateTime)|(fun():(System.DateTime))):(System.DateTime)
---@param some (System.Action*1System*DateTime)|(fun(obj:System.DateTime))
---@param none (System.Action)|(fun())
_G['Option*1System*DateTime'].Match = function(some, none) end
---`Method Public Instance`
---@overload fun(fallback:System.DateTime):(System.DateTime)
---@param fallback Barotrauma.Option*1System*DateTime
---@return Barotrauma.Option*1System*DateTime
_G['Option*1System*DateTime'].Fallback = function(fallback) end
---`Method Public Static`
---@param value System.DateTime
---@return Barotrauma.Option*1System*DateTime
_G['Option*1System*DateTime'].Some = function(value) end
---`Method Public Instance Virtual`
---@param obj System.Object
---@return System.Boolean
_G['Option*1System*DateTime'].Equals = function(obj) end
---`Method Public Instance`
---@param otherValue System.DateTime
---@return System.Boolean
_G['Option*1System*DateTime'].ValueEquals = function(otherValue) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['Option*1System*DateTime'].GetHashCode = function() end
---`Method Public Static`
---@return Barotrauma.Option*1System*DateTime
_G['Option*1System*DateTime'].None = function() end
---`Method Public Instance Virtual`
---@return System.String
_G['Option*1System*DateTime'].ToString = function() end
---`Constructor Private Instance`
---@param hasValue System.Boolean
---@param value System.DateTime
---@return Barotrauma.Option*1System*DateTime
_G['Option*1System*DateTime'] = function(hasValue, value) end
---`Constructor Private Instance`
---@param hasValue System.Boolean
---@param value System.DateTime
---@return Barotrauma.Option*1System*DateTime
_G['Option*1System*DateTime'].__new = function(hasValue, value) end

View File

@@ -0,0 +1,37 @@
---@meta
---@class Barotrauma.Networking.BannedPlayer : System.Object
---`Field Public Instance`
---@field Name System.String
---`Field Public Instance`
---@field AddressOrAccountId Barotrauma.Either*1Barotrauma*Networking*Address*1Barotrauma*Networking*AccountId
---`Field Public Instance`
---@field Reason System.String
---`Field Public Instance`
---@field ExpirationTime Barotrauma.Option*1Barotrauma*SerializableDateTime
---`Field Public Instance`
---@field UniqueIdentifier System.UInt32
_G['BannedPlayer'] = {}
---`Method Public Instance`
---@param client Barotrauma.Networking.Client
---@return System.Boolean
_G['BannedPlayer'].MatchesClient = function(client) end
---`Constructor Public Instance`
---@param uniqueIdentifier System.UInt32
---@param name System.String
---@param addressOrAccountId Barotrauma.Either*1Barotrauma*Networking*Address*1Barotrauma*Networking*AccountId
---@param reason System.String
---@param expiration Barotrauma.Option*1Barotrauma*SerializableDateTime
---@return Barotrauma.Networking.BannedPlayer
_G['BannedPlayer'] = function(uniqueIdentifier, name, addressOrAccountId, reason, expiration) end
---`Constructor Public Instance`
---@param uniqueIdentifier System.UInt32
---@param name System.String
---@param addressOrAccountId Barotrauma.Either*1Barotrauma*Networking*Address*1Barotrauma*Networking*AccountId
---@param reason System.String
---@param expiration Barotrauma.Option*1Barotrauma*SerializableDateTime
---@return Barotrauma.Networking.BannedPlayer
_G['BannedPlayer'].__new = function(uniqueIdentifier, name, addressOrAccountId, reason, expiration) end

View File

@@ -0,0 +1,84 @@
---@meta
---@class Barotrauma.Option*1Barotrauma*Networking*BannedPlayer : System.ValueType
---`Field Private Instance`
---@field hasValue System.Boolean
---`Field Private Instance`
---@field value Barotrauma.Networking.BannedPlayer
_G['Option*1Barotrauma*Networking*BannedPlayer'] = {}
---`Method Public Instance`
---@return System.Boolean
_G['Option*1Barotrauma*Networking*BannedPlayer'].IsSome = function() end
---`Method Public Instance`
---@return System.Boolean
_G['Option*1Barotrauma*Networking*BannedPlayer'].IsNone = function() end
---`Method Public Instance`
---@overload fun(outValue:Barotrauma.T1-ref):(System.Boolean)
---@param outValue Barotrauma.Networking.BannedPlayer-ref
---@return System.Boolean
_G['Option*1Barotrauma*Networking*BannedPlayer'].TryUnwrap = function(outValue) end
---`Method Public Instance`
---@param selector (System.Func*1Barotrauma*Networking*BannedPlayer*1Barotrauma*Option*TType)|(fun(arg:Barotrauma.Networking.BannedPlayer):(Barotrauma.Option.TType))
---@return Barotrauma.Option*1Barotrauma*Option*TType
_G['Option*1Barotrauma*Networking*BannedPlayer'].Select = function(selector) end
---`Method Public Instance`
---@overload fun(binder:(System.Func*1Barotrauma*Networking*BannedPlayer*1Barotrauma*Option*2Barotrauma*Option*TType)|(fun(arg:Barotrauma.Networking.BannedPlayer):(Barotrauma.Option*1Barotrauma*Option*TType))):(Barotrauma.Option*1Barotrauma*Option*TType)
---@param binder (System.Func*1Barotrauma*Networking*BannedPlayer*1System*Threading*Tasks*Task*2Barotrauma*Option*3Barotrauma*Option*TType)|(fun(arg:Barotrauma.Networking.BannedPlayer):(System.Threading.Tasks.Task*1Barotrauma*Option*2Barotrauma*Option*TType))
---@return System.Threading.Tasks.Task*1Barotrauma*Option*2Barotrauma*Option*TType
_G['Option*1Barotrauma*Networking*BannedPlayer'].Bind = function(binder) end
---`Method Public Instance`
---@overload fun(some:(System.Func*1Barotrauma*Networking*BannedPlayer*1Barotrauma*Networking*BannedPlayer)|(fun(arg:Barotrauma.Networking.BannedPlayer):(Barotrauma.Networking.BannedPlayer)), none:(System.Func*1Barotrauma*Networking*BannedPlayer)|(fun():(Barotrauma.Networking.BannedPlayer))):(Barotrauma.Networking.BannedPlayer)
---@param some (System.Action*1Barotrauma*Networking*BannedPlayer)|(fun(obj:Barotrauma.Networking.BannedPlayer))
---@param none (System.Action)|(fun())
_G['Option*1Barotrauma*Networking*BannedPlayer'].Match = function(some, none) end
---`Method Public Instance`
---@overload fun(fallback:Barotrauma.Networking.BannedPlayer):(Barotrauma.Networking.BannedPlayer)
---@param fallback Barotrauma.Option*1Barotrauma*Networking*BannedPlayer
---@return Barotrauma.Option*1Barotrauma*Networking*BannedPlayer
_G['Option*1Barotrauma*Networking*BannedPlayer'].Fallback = function(fallback) end
---`Method Public Static`
---@param value Barotrauma.Networking.BannedPlayer
---@return Barotrauma.Option*1Barotrauma*Networking*BannedPlayer
_G['Option*1Barotrauma*Networking*BannedPlayer'].Some = function(value) end
---`Method Public Instance Virtual`
---@param obj System.Object
---@return System.Boolean
_G['Option*1Barotrauma*Networking*BannedPlayer'].Equals = function(obj) end
---`Method Public Instance`
---@param otherValue Barotrauma.Networking.BannedPlayer
---@return System.Boolean
_G['Option*1Barotrauma*Networking*BannedPlayer'].ValueEquals = function(otherValue) end
---`Method Public Instance Virtual`
---@return System.Int32
_G['Option*1Barotrauma*Networking*BannedPlayer'].GetHashCode = function() end
---`Method Public Static`
---@return Barotrauma.Option*1Barotrauma*Networking*BannedPlayer
_G['Option*1Barotrauma*Networking*BannedPlayer'].None = function() end
---`Method Public Instance Virtual`
---@return System.String
_G['Option*1Barotrauma*Networking*BannedPlayer'].ToString = function() end
---`Constructor Private Instance`
---@param hasValue System.Boolean
---@param value Barotrauma.Networking.BannedPlayer
---@return Barotrauma.Option*1Barotrauma*Networking*BannedPlayer
_G['Option*1Barotrauma*Networking*BannedPlayer'] = function(hasValue, value) end
---`Constructor Private Instance`
---@param hasValue System.Boolean
---@param value Barotrauma.Networking.BannedPlayer
---@return Barotrauma.Option*1Barotrauma*Networking*BannedPlayer
_G['Option*1Barotrauma*Networking*BannedPlayer'].__new = function(hasValue, value) end

View File

@@ -0,0 +1,440 @@
---@meta
---@class Barotrauma.MathUtils : System.Object
_G['MathUtils'] = {}
---`Method Public Static`
---@param vector Microsoft.Xna.Framework.Vector3
---@return Microsoft.Xna.Framework.Vector2
_G['MathUtils'].DiscardZ = function(vector) end
---`Method Public Static`
---@param portion System.Single
---@param total System.Single
---@return System.Single
_G['MathUtils'].Percentage = function(portion, total) end
---`Method Public Static`
---@overload fun(i:System.Int32, n:System.Int32):(System.Int32)
---@param i System.Single
---@param n System.Single
---@return System.Single
_G['MathUtils'].PositiveModulo = function(i, n) end
---`Method Public Static`
---@param x1 System.Double
---@param y1 System.Double
---@param x2 System.Double
---@param y2 System.Double
---@return System.Double
_G['MathUtils'].Distance = function(x1, y1, x2, y2) end
---`Method Public Static`
---@overload fun(x1:System.Double, y1:System.Double, x2:System.Double, y2:System.Double):(System.Double)
---@param x1 System.Int32
---@param y1 System.Int32
---@param x2 System.Int32
---@param y2 System.Int32
---@return System.Int32
_G['MathUtils'].DistanceSquared = function(x1, y1, x2, y2) end
---`Method Public Static`
---@overload fun(v1:Microsoft.Xna.Framework.Vector2, v2:Microsoft.Xna.Framework.Vector2, amount:System.Single):(Microsoft.Xna.Framework.Vector2)
---@param t System.Single
---@return System.Single
_G['MathUtils'].SmoothStep = function(t) end
---`Method Public Static`
---@param t System.Single
---@return System.Single
_G['MathUtils'].SmootherStep = function(t) end
---`Method Public Static`
---@param t System.Single
---@return System.Single
_G['MathUtils'].EaseIn = function(t) end
---`Method Public Static`
---@param t System.Single
---@return System.Single
_G['MathUtils'].EaseOut = function(t) end
---`Method Public Static`
---@param v Microsoft.Xna.Framework.Vector2
---@param length System.Single
---@return Microsoft.Xna.Framework.Vector2
_G['MathUtils'].ClampLength = function(v, length) end
---`Method Public Static`
---@param rect Microsoft.Xna.Framework.Rectangle
---@param x System.Double
---@param y System.Double
---@return System.Boolean
_G['MathUtils'].Contains = function(rect, x, y) end
---`Method Public Static`
---@overload fun(value:System.Single, div:System.Single):(System.Single)
---@param vector Microsoft.Xna.Framework.Vector2
---@return Microsoft.Xna.Framework.Vector2
_G['MathUtils'].Round = function(vector) end
---`Method Public Static`
---@param v System.Single
---@return System.Int32
_G['MathUtils'].RoundToInt = function(v) end
---`Method Public Static`
---@param value System.Single
---@param div System.Single
---@return System.Single
_G['MathUtils'].RoundTowardsClosest = function(value, div) end
---`Method Public Static`
---@param vector Microsoft.Xna.Framework.Vector2
---@return System.Single
_G['MathUtils'].VectorToAngle = function(vector) end
---`Method Public Static`
---@param vector Microsoft.Xna.Framework.Vector2
---@return Microsoft.Xna.Framework.Point
_G['MathUtils'].ToPoint = function(vector) end
---`Method Public Static`
---@overload fun(value:System.Single):(System.Boolean)
---@param vector Microsoft.Xna.Framework.Vector2
---@return System.Boolean
_G['MathUtils'].IsValid = function(vector) end
---`Method Public Static`
---@param rect Microsoft.Xna.Framework.Rectangle
---@param amount System.Int32
---@return Microsoft.Xna.Framework.Rectangle
_G['MathUtils'].ExpandRect = function(rect, amount) end
---`Method Public Static`
---@param pointA Microsoft.Xna.Framework.Vector2
---@param pointB Microsoft.Xna.Framework.Vector2
---@param pointC Microsoft.Xna.Framework.Vector2
---@return System.Int32
_G['MathUtils'].VectorOrientation = function(pointA, pointB, pointC) end
---`Method Public Static`
---@param from System.Single
---@param to System.Single
---@param step System.Single
---@return System.Single
_G['MathUtils'].CurveAngle = function(from, to, step) end
---`Method Public Static`
---@param angle System.Single
---@return System.Single
_G['MathUtils'].WrapAngleTwoPi = function(angle) end
---`Method Public Static`
---@param angle System.Single
---@return System.Single
_G['MathUtils'].WrapAnglePi = function(angle) end
---`Method Public Static`
---@param from System.Single
---@param to System.Single
---@return System.Single
_G['MathUtils'].GetShortestAngle = function(from, to) end
---`Method Public Static`
---@param from System.Single
---@param to System.Single
---@return System.Single
_G['MathUtils'].GetMidAngle = function(from, to) end
---`Method Public Static`
---@param a System.Single
---@param b System.Single
---@param c System.Single
---@return System.Single
_G['MathUtils'].SolveTriangleSSS = function(a, b, c) end
---`Method Public Static`
---@param angle System.Single
---@return System.Byte
_G['MathUtils'].AngleToByte = function(angle) end
---`Method Public Static`
---@param b System.Byte
---@return System.Single
_G['MathUtils'].ByteToAngle = function(b) end
---`Method Public Static`
---@param a Microsoft.Xna.Framework.Vector2
---@param b Microsoft.Xna.Framework.Vector2
---@param c Microsoft.Xna.Framework.Vector2
---@param d Microsoft.Xna.Framework.Vector2
---@return System.Boolean
_G['MathUtils'].LineSegmentsIntersect = function(a, b, c, d) end
---`Method Public Static`
---@param a1 Microsoft.Xna.Framework.Vector2
---@param a2 Microsoft.Xna.Framework.Vector2
---@param b1 Microsoft.Xna.Framework.Vector2
---@param b2 Microsoft.Xna.Framework.Vector2
---@param intersection Microsoft.Xna.Framework.Vector2-ref
---@return System.Boolean
_G['MathUtils'].GetLineSegmentIntersection = function(a1, a2, b1, b2, intersection) end
---`Method Public Static`
---@param a1 Microsoft.Xna.Framework.Vector2
---@param a2 Microsoft.Xna.Framework.Vector2
---@param b1 Microsoft.Xna.Framework.Vector2
---@param b2 Microsoft.Xna.Framework.Vector2
---@param areLinesInfinite System.Boolean
---@param intersection Microsoft.Xna.Framework.Vector2-ref
---@return System.Boolean
_G['MathUtils'].GetLineIntersection = function(a1, a2, b1, b2, areLinesInfinite, intersection) end
---`Method Public Static`
---@param a1 Microsoft.Xna.Framework.Vector2
---@param a2 Microsoft.Xna.Framework.Vector2
---@param axisAligned1 Microsoft.Xna.Framework.Vector2
---@param axisAligned2 Microsoft.Xna.Framework.Vector2
---@param isHorizontal System.Boolean
---@param intersection Microsoft.Xna.Framework.Vector2-ref
---@return System.Boolean
_G['MathUtils'].GetAxisAlignedLineIntersection = function(a1, a2, axisAligned1, axisAligned2, isHorizontal, intersection) end
---`Method Public Static`
---@param a1 Microsoft.Xna.Framework.Vector2
---@param a2 Microsoft.Xna.Framework.Vector2
---@param rect Microsoft.Xna.Framework.Rectangle
---@param intersection Microsoft.Xna.Framework.Vector2-ref
---@return System.Boolean
_G['MathUtils'].GetLineRectangleIntersection = function(a1, a2, rect, intersection) end
---`Method Public Static`
---@param vector Microsoft.Xna.Framework.Vector2
---@return Microsoft.Xna.Framework.Vector2
_G['MathUtils'].FlipX = function(vector) end
---`Method Public Static`
---@overload fun(vector:Microsoft.Xna.Framework.Vector2):(Microsoft.Xna.Framework.Vector2)
---@param point Microsoft.Xna.Framework.Point
---@return Microsoft.Xna.Framework.Point
_G['MathUtils'].FlipY = function(point) end
---`Method Public Static`
---@overload fun(vector:Microsoft.Xna.Framework.Vector2):(Microsoft.Xna.Framework.Vector2)
---@param point Microsoft.Xna.Framework.Point
---@return Microsoft.Xna.Framework.Point
_G['MathUtils'].YX = function(point) end
---`Method Public Static`
---@param radians System.Single
---@return Microsoft.Xna.Framework.Vector2
_G['MathUtils'].RotatedUnitXRadians = function(radians) end
---`Method Public Static`
---@param radians System.Single
---@return Microsoft.Xna.Framework.Vector2
_G['MathUtils'].RotatedUnitYRadians = function(radians) end
---`Method Public Static`
---@param circlePos Microsoft.Xna.Framework.Vector2
---@param radius System.Single
---@param point1 Microsoft.Xna.Framework.Vector2
---@param point2 Microsoft.Xna.Framework.Vector2
---@param isLineSegment System.Boolean
---@param intersection1 System.Nullable
---@param intersection2 System.Nullable
---@return System.Int32
_G['MathUtils'].GetLineCircleIntersections = function(circlePos, radius, point1, point2, isLineSegment, intersection1, intersection2) end
---`Method Public Static`
---@param lineA Microsoft.Xna.Framework.Vector2
---@param lineB Microsoft.Xna.Framework.Vector2
---@param point Microsoft.Xna.Framework.Vector2
---@return System.Single
_G['MathUtils'].LineToPointDistance = function(lineA, lineB, point) end
---`Method Public Static`
---@param lineA Microsoft.Xna.Framework.Vector2
---@param lineB Microsoft.Xna.Framework.Vector2
---@param point Microsoft.Xna.Framework.Vector2
---@return System.Single
_G['MathUtils'].LineToPointDistanceSquared = function(lineA, lineB, point) end
---`Method Public Static`
---@overload fun(lineA:Microsoft.Xna.Framework.Point, lineB:Microsoft.Xna.Framework.Point, point:Microsoft.Xna.Framework.Point):(System.Double)
---@param lineA Microsoft.Xna.Framework.Vector2
---@param lineB Microsoft.Xna.Framework.Vector2
---@param point Microsoft.Xna.Framework.Vector2
---@return System.Single
_G['MathUtils'].LineSegmentToPointDistanceSquared = function(lineA, lineB, point) end
---`Method Private Static`
---@param line1X System.Double
---@param line1Y System.Double
---@param line2X System.Double
---@param line2Y System.Double
---@param pointX System.Double
---@param pointY System.Double
---@return System.Double
_G['MathUtils'].LineSegmentToPointDistanceSquared = function(line1X, line1Y, line2X, line2Y, pointX, pointY) end
---`Method Public Static`
---@param lineA Microsoft.Xna.Framework.Vector2
---@param lineB Microsoft.Xna.Framework.Vector2
---@param point Microsoft.Xna.Framework.Vector2
---@return Microsoft.Xna.Framework.Vector2
_G['MathUtils'].GetClosestPointOnLineSegment = function(lineA, lineB, point) end
---`Method Public Static`
---@param circlePos Microsoft.Xna.Framework.Vector2
---@param radius System.Single
---@param rect Microsoft.Xna.Framework.Rectangle
---@return System.Boolean
_G['MathUtils'].CircleIntersectsRectangle = function(circlePos, radius, rect) end
---`Method Public Static`
---@param center Microsoft.Xna.Framework.Vector2
---@param radius System.Single
---@param angle System.Single
---@return Microsoft.Xna.Framework.Vector2
_G['MathUtils'].GetPointOnCircumference = function(center, radius, angle) end
---`Method Public Static`
---@param center Microsoft.Xna.Framework.Vector2
---@param radius System.Single
---@param points System.Int32
---@param firstAngle? System.Single
---@return (Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[])
_G['MathUtils'].GetPointsOnCircumference = function(center, radius, points, firstAngle) end
---`Method Public Static`
---@param vertices (System.Collections.Generic.List*1Microsoft*Xna*Framework*Vector2)|(Microsoft.Xna.Framework.Vector2[])
---@param center Microsoft.Xna.Framework.Vector2
---@return (System.Collections.Generic.List*1Microsoft*Xna*Framework*Vector2-arr)|((Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[])[])
_G['MathUtils'].TriangulateConvexHull = function(vertices, center) end
---`Method Public Static`
---@param points (System.Collections.Generic.List*1Microsoft*Xna*Framework*Vector2)|(Microsoft.Xna.Framework.Vector2[])
---@return (System.Collections.Generic.List*1Microsoft*Xna*Framework*Vector2)|(Microsoft.Xna.Framework.Vector2[])
_G['MathUtils'].GiftWrap = function(points) end
---`Method Public Static`
---@param start Microsoft.Xna.Framework.Vector2
---@param luaKey__end Microsoft.Xna.Framework.Vector2
---@param iterations System.Int32
---@param offsetAmount System.Single
---@param rng System.Random
---@param bounds? System.Nullable*1Microsoft*Xna*Framework*Rectangle
---@return (System.Collections.Generic.List*1Microsoft*Xna*Framework*Vector2-arr)|((Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[])[])
_G['MathUtils'].GenerateJaggedLine = function(start, luaKey__end, iterations, offsetAmount, rng, bounds) end
---`Method Public Static`
---@param i System.Int64
---@return System.String
_G['MathUtils'].GetBytesReadable = function(i) end
---`Method Public Static`
---@param rects (System.Collections.Generic.List*1Microsoft*Xna*Framework*Rectangle)|(Microsoft.Xna.Framework.Rectangle[])
---@param point Microsoft.Xna.Framework.Vector2
_G['MathUtils'].SplitRectanglesHorizontal = function(rects, point) end
---`Method Public Static`
---@param rects (System.Collections.Generic.List*1Microsoft*Xna*Framework*Rectangle)|(Microsoft.Xna.Framework.Rectangle[])
---@param point Microsoft.Xna.Framework.Vector2
_G['MathUtils'].SplitRectanglesVertical = function(rects, point) end
---`Method Public Static`
---@overload fun(a:System.Single, b:System.Single, epsilon?:System.Single):(System.Boolean)
---@param a Microsoft.Xna.Framework.Vector2
---@param b Microsoft.Xna.Framework.Vector2
---@param epsilon? System.Single
---@return System.Boolean
_G['MathUtils'].NearlyEqual = function(a, b, epsilon) end
---`Method Public Static`
---@param start Microsoft.Xna.Framework.Vector2
---@param control Microsoft.Xna.Framework.Vector2
---@param luaKey__end Microsoft.Xna.Framework.Vector2
---@param t System.Single
---@return Microsoft.Xna.Framework.Vector2
_G['MathUtils'].Bezier = function(start, control, luaKey__end, t) end
---`Method Public Static`
---@param f System.Single
---@param p System.Single
---@return System.Single
_G['MathUtils'].Pow = function(f, p) end
---`Method Public Static`
---@param f System.Single
---@return System.Single
_G['MathUtils'].Pow2 = function(f) end
---`Method Public Static`
---@param alignment Barotrauma.Alignment
---@return Microsoft.Xna.Framework.Vector2
_G['MathUtils'].ToVector2 = function(alignment) end
---`Method Public Static`
---@param point Microsoft.Xna.Framework.Vector2
---@param target Microsoft.Xna.Framework.Vector2
---@param radians System.Single
---@param clockWise? System.Boolean
---@return Microsoft.Xna.Framework.Vector2
_G['MathUtils'].RotatePointAroundTarget = function(point, target, radians, clockWise) end
---`Method Public Static`
---@param point Microsoft.Xna.Framework.Vector2
---@param radians System.Single
---@return Microsoft.Xna.Framework.Vector2
_G['MathUtils'].RotatePoint = function(point, radians) end
---`Method Public Static`
---@overload fun(up:Microsoft.Xna.Framework.Vector2, center:Microsoft.Xna.Framework.Vector2, size:Microsoft.Xna.Framework.Vector2):((Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[]))
---@param corners (Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[])
---@param up Microsoft.Xna.Framework.Vector2
---@param center Microsoft.Xna.Framework.Vector2
---@param size Microsoft.Xna.Framework.Vector2
---@return (Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[])
_G['MathUtils'].GetImaginaryRect = function(corners, up, center, size) end
---`Method Public Static`
---@overload fun(corners:(Microsoft.Xna.Framework.Vector2-arr)|(Microsoft.Xna.Framework.Vector2[]), point:Microsoft.Xna.Framework.Vector2):(System.Boolean)
---@param c1 Microsoft.Xna.Framework.Vector2
---@param c2 Microsoft.Xna.Framework.Vector2
---@param c3 Microsoft.Xna.Framework.Vector2
---@param c4 Microsoft.Xna.Framework.Vector2
---@param point Microsoft.Xna.Framework.Vector2
---@return System.Boolean
_G['MathUtils'].RectangleContainsPoint = function(c1, c2, c3, c4, point) end
---`Method Public Static`
---@param c1 Microsoft.Xna.Framework.Vector2
---@param c2 Microsoft.Xna.Framework.Vector2
---@param c3 Microsoft.Xna.Framework.Vector2
---@param point Microsoft.Xna.Framework.Vector2
---@return System.Boolean
_G['MathUtils'].TriangleContainsPoint = function(c1, c2, c3, point) end
---`Method Public Static`
---@param min System.Single
---@param max System.Single
---@param v System.Single
---@return System.Single
_G['MathUtils'].InverseLerp = function(min, max, v) end
---`Method Public Static`
---@param ... System.Single
---@return System.Single
_G['MathUtils'].Min = function(...) end
---`Method Public Static`
---@param ... System.Single
---@return System.Single
_G['MathUtils'].Max = function(...) end
---`Method Public Static`
---@param val System.UInt32
---@return System.UInt32
_G['MathUtils'].RoundUpToPowerOfTwo = function(val) end

View File

@@ -0,0 +1,250 @@
---@meta
---@class System.MathF : System.Object
---`Field Private Static`
---@field roundPower10Single (System.Single-arr)|(System.Single[])
---`Field Public Static`
---@field E System.Single
---`Field Public Static`
---@field PI System.Single
---`Field Public Static`
---@field Tau System.Single
_G['System']['MathF'] = {}
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Acos = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Acosh = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Asin = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Asinh = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Atan = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Atanh = function(x) end
---`Method Public Static`
---@param y System.Single
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Atan2 = function(y, x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Cbrt = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Ceiling = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Cos = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Cosh = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Exp = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Floor = function(x) end
---`Method Public Static`
---@param x System.Single
---@param y System.Single
---@param z System.Single
---@return System.Single
_G['System']['MathF'].FusedMultiplyAdd = function(x, y, z) end
---`Method Public Static`
---@param x System.Single
---@return System.Int32
_G['System']['MathF'].ILogB = function(x) end
---`Method Public Static`
---@overload fun(x:System.Single):(System.Single)
---@param x System.Single
---@param y System.Single
---@return System.Single
_G['System']['MathF'].Log = function(x, y) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Log2 = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Log10 = function(x) end
---`Method Public Static`
---@param x System.Single
---@param y System.Single
---@return System.Single
_G['System']['MathF'].Pow = function(x, y) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Sin = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.ValueTuple*1System*Single*1System*Single
_G['System']['MathF'].SinCos = function(x) end
---`Method Private Static`
---@param x System.Single
---@param sin System.Single-ptr
---@param cos System.Single-ptr
_G['System']['MathF'].SinCos = function(x, sin, cos) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Sinh = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Sqrt = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Tan = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Tanh = function(x) end
---`Method Private Static`
---@param x System.Single
---@param intptr System.Single-ptr
---@return System.Single
_G['System']['MathF'].ModF = function(x, intptr) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Abs = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].BitDecrement = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].BitIncrement = function(x) end
---`Method Public Static`
---@param x System.Single
---@param y System.Single
---@return System.Single
_G['System']['MathF'].CopySign = function(x, y) end
---`Method Public Static`
---@param x System.Single
---@param y System.Single
---@return System.Single
_G['System']['MathF'].IEEERemainder = function(x, y) end
---`Method Public Static`
---@param x System.Single
---@param y System.Single
---@return System.Single
_G['System']['MathF'].Max = function(x, y) end
---`Method Public Static`
---@param x System.Single
---@param y System.Single
---@return System.Single
_G['System']['MathF'].MaxMagnitude = function(x, y) end
---`Method Public Static`
---@param x System.Single
---@param y System.Single
---@return System.Single
_G['System']['MathF'].Min = function(x, y) end
---`Method Public Static`
---@param x System.Single
---@param y System.Single
---@return System.Single
_G['System']['MathF'].MinMagnitude = function(x, y) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].ReciprocalEstimate = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].ReciprocalSqrtEstimate = function(x) end
---`Method Public Static`
---@overload fun(x:System.Single):(System.Single)
---@overload fun(x:System.Single, digits:System.Int32):(System.Single)
---@overload fun(x:System.Single, mode:System.MidpointRounding):(System.Single)
---@param x System.Single
---@param digits System.Int32
---@param mode System.MidpointRounding
---@return System.Single
_G['System']['MathF'].Round = function(x, digits, mode) end
---`Method Public Static`
---@param x System.Single
---@return System.Int32
_G['System']['MathF'].Sign = function(x) end
---`Method Public Static`
---@param x System.Single
---@return System.Single
_G['System']['MathF'].Truncate = function(x) end
---`Method Public Static`
---@param x System.Single
---@param n System.Int32
---@return System.Single
_G['System']['MathF'].ScaleB = function(x, n) end
---`Constructor Private Static`
---@return System.MathF
_G['System']['MathF'] = function() end
---`Constructor Private Static`
---@return System.MathF
_G['System']['MathF'].__new = function() end

View File

@@ -0,0 +1,114 @@
---@meta
---@class Microsoft.Xna.Framework.MathHelper : System.Object
---`Field Public Static`
---@field E System.Single
---`Field Public Static`
---@field Log10E System.Single
---`Field Public Static`
---@field Log2E System.Single
---`Field Public Static`
---@field Pi System.Single
---`Field Public Static`
---@field PiOver2 System.Single
---`Field Public Static`
---@field PiOver4 System.Single
---`Field Public Static`
---@field TwoPi System.Single
_G['Microsoft']['Xna']['Framework']['MathHelper'] = {}
---`Method Public Static`
---@param value1 System.Single
---@param value2 System.Single
---@param value3 System.Single
---@param amount1 System.Single
---@param amount2 System.Single
---@return System.Single
_G['Microsoft']['Xna']['Framework']['MathHelper'].Barycentric = function(value1, value2, value3, amount1, amount2) end
---`Method Public Static`
---@param value1 System.Single
---@param value2 System.Single
---@param value3 System.Single
---@param value4 System.Single
---@param amount System.Single
---@return System.Single
_G['Microsoft']['Xna']['Framework']['MathHelper'].CatmullRom = function(value1, value2, value3, value4, amount) end
---`Method Public Static`
---@overload fun(value:System.Single, min:System.Single, max:System.Single):(System.Single)
---@param value System.Int32
---@param min System.Int32
---@param max System.Int32
---@return System.Int32
_G['Microsoft']['Xna']['Framework']['MathHelper'].Clamp = function(value, min, max) end
---`Method Public Static`
---@param value1 System.Single
---@param value2 System.Single
---@return System.Single
_G['Microsoft']['Xna']['Framework']['MathHelper'].Distance = function(value1, value2) end
---`Method Public Static`
---@param value1 System.Single
---@param tangent1 System.Single
---@param value2 System.Single
---@param tangent2 System.Single
---@param amount System.Single
---@return System.Single
_G['Microsoft']['Xna']['Framework']['MathHelper'].Hermite = function(value1, tangent1, value2, tangent2, amount) end
---`Method Public Static`
---@param value1 System.Single
---@param value2 System.Single
---@param amount System.Single
---@return System.Single
_G['Microsoft']['Xna']['Framework']['MathHelper'].Lerp = function(value1, value2, amount) end
---`Method Public Static`
---@param value1 System.Single
---@param value2 System.Single
---@param amount System.Single
---@return System.Single
_G['Microsoft']['Xna']['Framework']['MathHelper'].LerpPrecise = function(value1, value2, amount) end
---`Method Public Static`
---@overload fun(value1:System.Single, value2:System.Single):(System.Single)
---@param value1 System.Int32
---@param value2 System.Int32
---@return System.Int32
_G['Microsoft']['Xna']['Framework']['MathHelper'].Max = function(value1, value2) end
---`Method Public Static`
---@overload fun(value1:System.Single, value2:System.Single):(System.Single)
---@param value1 System.Int32
---@param value2 System.Int32
---@return System.Int32
_G['Microsoft']['Xna']['Framework']['MathHelper'].Min = function(value1, value2) end
---`Method Public Static`
---@param value1 System.Single
---@param value2 System.Single
---@param amount System.Single
---@return System.Single
_G['Microsoft']['Xna']['Framework']['MathHelper'].SmoothStep = function(value1, value2, amount) end
---`Method Public Static`
---@param radians System.Single
---@return System.Single
_G['Microsoft']['Xna']['Framework']['MathHelper'].ToDegrees = function(radians) end
---`Method Public Static`
---@param degrees System.Single
---@return System.Single
_G['Microsoft']['Xna']['Framework']['MathHelper'].ToRadians = function(degrees) end
---`Method Public Static`
---@param angle System.Single
---@return System.Single
_G['Microsoft']['Xna']['Framework']['MathHelper'].WrapAngle = function(angle) end
---`Method Public Static`
---@param value System.Int32
---@return System.Boolean
_G['Microsoft']['Xna']['Framework']['MathHelper'].IsPowerOfTwo = function(value) end

View File

@@ -0,0 +1,62 @@
---@meta
---@class Barotrauma.PerformanceCounter : System.Object
---`Field Private Instance`
---@field mutex System.Object
---`Field Private Instance`
---@field sampleBuffer (System.Collections.Generic.Queue*1System*Double)|(fun():(System.Double))
---`Field Private Instance`
---@field averageFramesPerSecondBuffer (System.Collections.Generic.Queue*1System*Double)|(fun():(System.Double))
---`Field Private Instance`
---@field timer System.Diagnostics.Stopwatch
---`Field Private Instance`
---@field lastSecondMark System.Int64
---`Field Private Instance`
---@field lastMinuteMark System.Int64
---`Field Private Instance`
---@field elapsedTicks (System.Collections.Generic.Dictionary*1System*String*1System*Collections*Generic*Queue*2System*Int64)|({[System.String]:((System.Collections.Generic.Queue*1System*Int64)|(fun():(System.Int64)))})
---`Field Private Instance`
---@field avgTicksPerFrame (System.Collections.Generic.Dictionary*1System*String*1System*Int64)|({[System.String]:(System.Int64)})
---`Field NonPublic Instance`
---@field UpdateTimeGraph Barotrauma.Graph
---`Field NonPublic Instance`
---@field DrawTimeGraph Barotrauma.Graph
---`Field Private Instance`
---@field tempSavedIdentifiers (System.Collections.Generic.List*1System*String)|(System.String[])
---`Field Public Static`
---@field MaximumSamples System.Int32
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field AverageFramesPerSecond System.Double
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field CurrentFramesPerSecond System.Double
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field AverageFramesPerSecondInPastMinute System.Double
---`Getter Public Instance`
---@field GetSavedIdentifiers (System.Collections.Generic.IReadOnlyList*1System*String)|(System.String[])
_G['PerformanceCounter'] = {}
---`Method Public Instance`
---@param identifier System.String
---@param ticks System.Int64
_G['PerformanceCounter'].AddElapsedTicks = function(identifier, ticks) end
---`Method Public Instance`
---@param identifier System.String
---@return System.Single
_G['PerformanceCounter'].GetAverageElapsedMillisecs = function(identifier) end
---`Method Public Instance`
---@param deltaTime System.Double
---@return System.Boolean
_G['PerformanceCounter'].Update = function(deltaTime) end
---`Constructor Public Instance`
---@return Barotrauma.PerformanceCounter
_G['PerformanceCounter'] = function() end
---`Constructor Public Instance`
---@return Barotrauma.PerformanceCounter
_G['PerformanceCounter'].__new = function() end

View File

@@ -0,0 +1,10 @@
---@meta
---@class Barotrauma.ChatMode : System.Enum
---`Field Public Static`
---@field None Barotrauma.ChatMode
---`Field Public Static`
---@field Local Barotrauma.ChatMode
---`Field Public Static`
---@field Radio Barotrauma.ChatMode
_G['ChatMode'] = {}

View File

@@ -0,0 +1,260 @@
---@meta
---@class Barotrauma.GameMain : Microsoft.Xna.Framework.Game
---`Field Public Instance`
---@field ConsoleArguments (System.Collections.Immutable.ImmutableArray*1System*String)|(System.String[])
---`Field Public Instance`
---@field EgsExchangeCode Barotrauma.Option*1System*String
---`Field Private Instance`
---@field loadingScreenOpen System.Boolean
---`Field Private Instance`
---@field initialLoadingThread System.Threading.Thread
---`Field Private Instance`
---@field fixedTime Microsoft.Xna.Framework.GameTime
---`Field Public Instance`
---@field ConnectCommand Barotrauma.Option*1Barotrauma*Networking*ConnectCommand
---`Field Private Instance`
---@field defaultViewport Microsoft.Xna.Framework.Graphics.Viewport
---`Field Private Instance`
---@field ResolutionChanged (System.Action)|(fun())
---`Field Public Static`
---@field LuaCs Barotrauma.LuaCsSetup
---`Field Public Static`
---@field ShowFPS System.Boolean
---`Field Public Static`
---@field ShowPerf System.Boolean
---`Field Public Static`
---@field DebugDraw System.Boolean
---`Field Public Static`
---@field DevMode System.Boolean
---`Field Public Static`
---@field PerformanceCounter Barotrauma.PerformanceCounter
---`Field Private Static`
---@field performanceCounterTimer System.Diagnostics.Stopwatch
---`Field Private Static`
---@field updateCount System.Int32
---`Field Public Static`
---@field Version System.Version
---`Field Public Static`
---@field GameScreen Barotrauma.GameScreen
---`Field Public Static`
---@field MainMenuScreen Barotrauma.MainMenuScreen
---`Field Public Static`
---@field NetLobbyScreen Barotrauma.NetLobbyScreen
---`Field Public Static`
---@field ModDownloadScreen Barotrauma.ModDownloadScreen
---`Field Public Static`
---@field ServerListScreen Barotrauma.ServerListScreen
---`Field Public Static`
---@field SubEditorScreen Barotrauma.SubEditorScreen
---`Field Public Static`
---@field TestScreen Barotrauma.TestScreen
---`Field Public Static`
---@field ParticleEditorScreen Barotrauma.ParticleEditorScreen
---`Field Public Static`
---@field LevelEditorScreen Barotrauma.LevelEditorScreen
---`Field Public Static`
---@field SpriteEditorScreen Barotrauma.SpriteEditorScreen
---`Field Public Static`
---@field EventEditorScreen Barotrauma.EventEditorScreen
---`Field Public Static`
---@field CharacterEditorScreen Barotrauma.CharacterEditor.CharacterEditorScreen
---`Field Public Static`
---@field CampaignEndScreen Barotrauma.CampaignEndScreen
---`Field Public Static`
---@field LightManager Barotrauma.Lights.LightManager
---`Field Public Static`
---@field SoundManager Barotrauma.Sounds.SoundManager
---`Field Private Static`
---@field gameSession Barotrauma.GameSession
---`Field Public Static`
---@field ParticleManager Barotrauma.Particles.ParticleManager
---`Field Private Static`
---@field world FarseerPhysics.Dynamics.World
---`Field Public Static`
---@field TitleScreen Barotrauma.LoadingScreen
---`Field Private Static`
---@field spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
---`Field Public Static`
---@field Client Barotrauma.Networking.GameClient
---`Field Public Static`
---@field FirstLoad System.Boolean
---`Field Public Static`
---@field CancelQuickStart System.Boolean
---`Field Private Static`
---@field contentLoaded System.Boolean
---`Field Private Static`
---@field postContentLoadActions (System.Collections.Generic.Queue*1System*Action)|(fun():((System.Action)|(fun())))
---`Field Private Static`
---@field waitForKeyHit System.Boolean
---`Field Private Static`
---@field GfxProfile Microsoft.Xna.Framework.Graphics.GraphicsProfile
---`Getter Public Static`
---@field IsSingleplayer System.Boolean
---`Getter Public Static`
---@field IsMultiplayer System.Boolean
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field CurrentUpdateRate System.Int32
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field MainThread System.Threading.Thread
---`Getter Public Static`
---@field VanillaContent Barotrauma.ContentPackage
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field GameSession Barotrauma.GameSession
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field World FarseerPhysics.Dynamics.World
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field HasLoaded System.Boolean
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field IsExiting System.Boolean
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field IsFirstLaunch System.Boolean
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field Instance Barotrauma.GameMain
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field GraphicsDeviceManager Microsoft.Xna.Framework.GraphicsDeviceManager
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field WindowMode Barotrauma.WindowMode
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field GraphicsWidth System.Int32
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field GraphicsHeight System.Int32
---`Getter Public Static`
---@field WindowActive System.Boolean
---`Getter Public Static`
---@field NetworkMember Barotrauma.Networking.NetworkMember
---`Getter Public Static`
---<br/>`Setter Private Static`
---@field ScissorTestEnable Microsoft.Xna.Framework.Graphics.RasterizerState
---`Getter Public Instance`
---@field LoadingScreenOpen System.Boolean
---`Getter Public Instance`
---<br/>`Setter Private Instance`
---@field Paused System.Boolean
---`Getter Public Static`
---<br/>`Setter Public Static`
---@field ActiveChatMode Barotrauma.ChatMode
_G['GameMain'] = {}
---`Method Public Static`
_G['GameMain'].ResetNetLobbyScreen = function() end
---`Method Public Static`
---@param action (System.Action)|(fun())
_G['GameMain'].ExecuteAfterContentFinishedLoading = function(action) end
---`Method Public Static`
---@param sender System.Object
---@param args Microsoft.Xna.Framework.FileDropEventArgs
_G['GameMain'].OnFileDropped = function(sender, args) end
---`Method Public Instance`
---@param recalculateFontsAndStyles? System.Boolean
_G['GameMain'].ApplyGraphicsSettings = function(recalculateFontsAndStyles) end
---`Method Public Instance`
---@param windowMode Barotrauma.WindowMode
_G['GameMain'].SetWindowMode = function(windowMode) end
---`Method Public Instance`
_G['GameMain'].ResetViewPort = function() end
---`Method NonPublic Instance Virtual`
_G['GameMain'].Initialize = function() end
---`Method NonPublic Instance Virtual`
_G['GameMain'].LoadContent = function() end
---`Method Private Instance`
_G['GameMain'].Load = function() end
---`Method Private Static`
_G['GameMain'].ProcessLaunchCountEos = function() end
---`Method NonPublic Instance Virtual`
_G['GameMain'].UnloadContent = function() end
---`Method Private Instance`
---@overload fun(friend:Steamworks.Friend, connectCommand:System.String)
---@param connectCommand System.String
_G['GameMain'].OnInvitedToSteamGame = function(connectCommand) end
---`Method Private Instance`
---@param lobby Steamworks.Data.Lobby
---@param friendId Steamworks.SteamId
_G['GameMain'].OnSteamLobbyJoinRequested = function(lobby, friendId) end
---`Method NonPublic Instance Virtual`
---@param gameTime Microsoft.Xna.Framework.GameTime
_G['GameMain'].Update = function(gameTime) end
---`Method Public Static`
_G['GameMain'].ResetFrameTime = function() end
---`Method Private Instance`
_G['GameMain'].FixRazerCortex = function() end
---`Method NonPublic Instance Virtual`
---@param gameTime Microsoft.Xna.Framework.GameTime
_G['GameMain'].Draw = function(gameTime) end
---`Method Public Static`
---@overload fun(save:System.Boolean, showVerificationPrompt:System.Boolean)
---@param save System.Boolean
_G['GameMain'].QuitToMainMenu = function(save) end
---`Method Public Instance`
_G['GameMain'].ShowBugReporter = function() end
---`Method Public Instance`
---@param loader (System.Collections.Generic.IEnumerable*1Barotrauma*CoroutineStatus)|(fun():(Barotrauma.CoroutineStatus))
---@param waitKeyHit? System.Boolean
---@return Barotrauma.CoroutineHandle
_G['GameMain'].ShowLoading = function(loader, waitKeyHit) end
---`Method NonPublic Instance Virtual`
---@param sender System.Object
---@param args System.EventArgs
_G['GameMain'].OnExiting = function(sender, args) end
---`Method Public Static`
---@overload fun(url:System.String, promptTextTag?:System.String, promptExtensionTag?:System.String):(Barotrauma.GUIMessageBox)
---@param url System.String
---@param promptText Barotrauma.LocalizedString
---@return Barotrauma.GUIMessageBox
_G['GameMain'].ShowOpenUriPrompt = function(url, promptText) end
---`Method Public Static`
_G['GameMain'].ResetIMEWorkaround = function() end
---`Constructor Public Instance`
---@overload fun(args:(System.String-arr)|(System.String[])):Barotrauma.GameMain
---@return Barotrauma.GameMain
_G['GameMain'] = function() end
---`Constructor Public Instance`
---@overload fun(args:(System.String-arr)|(System.String[])):Barotrauma.GameMain
---@return Barotrauma.GameMain
_G['GameMain'].__new = function() end
---`Constructor Private Static`
---@overload fun(args:(System.String-arr)|(System.String[])):Barotrauma.GameMain
---@return Barotrauma.GameMain
_G['GameMain'] = function() end
---`Constructor Private Static`
---@overload fun(args:(System.String-arr)|(System.String[])):Barotrauma.GameMain
---@return Barotrauma.GameMain
_G['GameMain'].__new = function() end

View File

@@ -0,0 +1,38 @@
---@meta
---@class Barotrauma.Networking.Endpoint : System.Object
---`Field Public Instance`
---@field Address Barotrauma.Networking.Address
---`Getter Public Instance Abstract Virtual`
---@field StringRepresentation System.String
---`Getter Public Instance Abstract Virtual`
---@field ServerTypeString Barotrauma.LocalizedString
_G['Endpoint'] = {}
---`Method Public Instance Abstract Virtual`
---@param obj System.Object
---@return System.Boolean
_G['Endpoint'].Equals = function(obj) end
---`Method Public Instance Abstract Virtual`
---@return System.Int32
_G['Endpoint'].GetHashCode = function() end
---`Method Public Instance Virtual`
---@return System.String
_G['Endpoint'].ToString = function() end
---`Method Public Static`
---@param str System.String
---@return Barotrauma.Option*1Barotrauma*Networking*Endpoint
_G['Endpoint'].Parse = function(str) end
---`Constructor Public Instance`
---@param address Barotrauma.Networking.Address
---@return Barotrauma.Networking.Endpoint
_G['Endpoint'] = function(address) end
---`Constructor Public Instance`
---@param address Barotrauma.Networking.Address
---@return Barotrauma.Networking.Endpoint
_G['Endpoint'].__new = function(address) end

View File

@@ -0,0 +1,18 @@
---@meta
---@class Barotrauma.CursorState : System.Enum
---`Field Public Static`
---@field Default Barotrauma.CursorState
---`Field Public Static`
---@field Hand Barotrauma.CursorState
---`Field Public Static`
---@field Move Barotrauma.CursorState
---`Field Public Static`
---@field IBeam Barotrauma.CursorState
---`Field Public Static`
---@field Dragging Barotrauma.CursorState
---`Field Public Static`
---@field Waiting Barotrauma.CursorState
---`Field Public Static`
---@field WaitingBackground Barotrauma.CursorState
_G['GUI']['CursorState'] = {}

View File

@@ -0,0 +1,36 @@
---@meta
---@class Barotrauma.Alignment : System.Enum
---`Field Public Static`
---@field CenterX Barotrauma.Alignment
---`Field Public Static`
---@field Left Barotrauma.Alignment
---`Field Public Static`
---@field Right Barotrauma.Alignment
---`Field Public Static`
---@field CenterY Barotrauma.Alignment
---`Field Public Static`
---@field Top Barotrauma.Alignment
---`Field Public Static`
---@field Bottom Barotrauma.Alignment
---`Field Public Static`
---@field TopLeft Barotrauma.Alignment
---`Field Public Static`
---@field TopCenter Barotrauma.Alignment
---`Field Public Static`
---@field TopRight Barotrauma.Alignment
---`Field Public Static`
---@field CenterLeft Barotrauma.Alignment
---`Field Public Static`
---@field Center Barotrauma.Alignment
---`Field Public Static`
---@field CenterRight Barotrauma.Alignment
---`Field Public Static`
---@field BottomLeft Barotrauma.Alignment
---`Field Public Static`
---@field BottomCenter Barotrauma.Alignment
---`Field Public Static`
---@field BottomRight Barotrauma.Alignment
---`Field Public Static`
---@field Any Barotrauma.Alignment
_G['GUI']['Alignment'] = {}

View File

@@ -0,0 +1,14 @@
---@meta
---@class Barotrauma.GUIComponent.ComponentState : System.Enum
---`Field Public Static`
---@field None Barotrauma.GUIComponent.ComponentState
---`Field Public Static`
---@field Hover Barotrauma.GUIComponent.ComponentState
---`Field Public Static`
---@field Pressed Barotrauma.GUIComponent.ComponentState
---`Field Public Static`
---@field Selected Barotrauma.GUIComponent.ComponentState
---`Field Public Static`
---@field HoverSelected Barotrauma.GUIComponent.ComponentState
_G['GUIComponent']['ComponentState'] = {}

Some files were not shown because too many files have changed in this diff Show More