Difference between revisions of "Scripting Whitelist/zh"

From Space Engineers Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
__FORCETOC__
 
__FORCETOC__
Space Engineers限制脚本中允许的类型和方法,以阻止程序员创建可能危及玩家计算机的恶意mod或脚本。 下表列出了[[Programming_Guide/zh#游戏内脚本]]和[[Modding API]]中允许的内容。
+
Space Engineers限制脚本中允许的类型和方法,以阻止程序员创建可能危及玩家计算机的恶意mod或脚本。 下表列出了[[Programming_Guide/zh|游戏内脚本]]和[[Modding API]]中允许的内容。
  
 
* *表示列出的命名空间中的所有类型都列入白名单。
 
* *表示列出的命名空间中的所有类型都列入白名单。

Latest revision as of 17:40, 1 September 2018

Space Engineers限制脚本中允许的类型和方法,以阻止程序员创建可能危及玩家计算机的恶意mod或脚本。 下表列出了游戏内脚本Modding API中允许的内容。

  • *表示列出的命名空间中的所有类型都列入白名单。
  • +表示列出类型的所有成员都列入白名单。 如果类型没有此符号,则可以在列表中的其他位置找到允许的成员。

游戏内编程和Mod脚本

白名单
类型(ModAPI, Ingame, Both) 完整的合法名 组件
Both System.Collections.* mscorlib
Both System.Collections.Generic.* mscorlib
Both System.Collections.Generic.* System.Core
Both System.Collections.Generic.* System
Both System.Collections.Concurrent.* mscorlib
Both System.Collections.Concurrent.* System
Both System.Linq.* System.Core
Both System.Text.* mscorlib
Both System.Text.RegularExpressions.* System
Both System.Globalization.* mscorlib
Both object+* mscorlib
Both System.IDisposable+* mscorlib
Both string+* mscorlib
Both System.StringComparison+* mscorlib
Both System.Math+* mscorlib
Both System.Enum+* mscorlib
Both int+* mscorlib
Both short+* mscorlib
Both long+* mscorlib
Both uint+* mscorlib
Both ushort+* mscorlib
Both ulong+* mscorlib
Both double+* mscorlib
Both float+* mscorlib
Both bool+* mscorlib
Both char+* mscorlib
Both byte+* mscorlib
Both sbyte+* mscorlib
Both decimal+* mscorlib
Both System.DateTime+* mscorlib
Both System.TimeSpan+* mscorlib
Both System.Array+* mscorlib
Both System.Xml.Serialization.XmlElementAttribute+* System.Xml
Both System.Xml.Serialization.XmlAttributeAttribute+* System.Xml
Both System.Xml.Serialization.XmlArrayAttribute+* System.Xml
Both System.Xml.Serialization.XmlArrayItemAttribute+* System.Xml
Both System.Xml.Serialization.XmlAnyAttributeAttribute+* System.Xml
Both System.Xml.Serialization.XmlAnyElementAttribute+* System.Xml
Both System.Xml.Serialization.XmlAnyElementAttributes+* System.Xml
Both System.Xml.Serialization.XmlArrayItemAttributes+* System.Xml
Both System.Xml.Serialization.XmlAttributeEventArgs+* System.Xml
Both System.Xml.Serialization.XmlAttributeOverrides+* System.Xml
Both System.Xml.Serialization.XmlAttributes+* System.Xml
Both System.Xml.Serialization.XmlChoiceIdentifierAttribute+* System.Xml
Both System.Xml.Serialization.XmlElementAttributes+* System.Xml
Both System.Xml.Serialization.XmlElementEventArgs+* System.Xml
Both System.Xml.Serialization.XmlEnumAttribute+* System.Xml
Both System.Xml.Serialization.XmlIgnoreAttribute+* System.Xml
Both System.Xml.Serialization.XmlIncludeAttribute+* System.Xml
Both System.Xml.Serialization.XmlRootAttribute+* System.Xml
Both System.Xml.Serialization.XmlTextAttribute+* System.Xml
Both System.Xml.Serialization.XmlTypeAttribute+* System.Xml
Both System.Runtime.CompilerServices.RuntimeHelpers+* mscorlib
Both System.IO.Stream+* mscorlib
Both System.IO.TextWriter+* mscorlib
Both System.IO.TextReader+* mscorlib
Both System.IO.BinaryReader+* mscorlib
Both System.IO.BinaryWriter+* mscorlib
Both System.NullReferenceException+* mscorlib
Both System.ArgumentException+* mscorlib
Both System.ArgumentNullException+* mscorlib
Both System.InvalidOperationException+* mscorlib
Both System.FormatException+* mscorlib
Both System.Exception+* mscorlib
Both System.DivideByZeroException+* mscorlib
Both System.InvalidCastException+* mscorlib
Both System.IO.FileNotFoundException+* mscorlib
Both System.NotSupportedException+* mscorlib
Both System.Nullable<T>+* mscorlib
Both System.StringComparer+* mscorlib
Both System.IEquatable<T>+* mscorlib
Both System.IComparable+* mscorlib
Both System.IComparable<T>+* mscorlib
Both System.BitConverter+* mscorlib
Both System.FlagsAttribute+* mscorlib
Both System.IO.Path+* mscorlib
Both System.Random+* mscorlib
Both System.Convert+* mscorlib
Both System.StringSplitOptions+* mscorlib
Both System.DateTimeKind+* mscorlib
Both System.MidpointRounding+* mscorlib
Both System.EventArgs+* mscorlib
Both System.Reflection.MemberInfo mscorlib
Both System.Reflection.MemberInfo.Name mscorlib
Both System.Type mscorlib
Both System.Type.FullName mscorlib
Both System.Type.GetTypeFromHandle(System.RuntimeTypeHandle) mscorlib
Both System.Type.GetFields(System.Reflection.BindingFlags) mscorlib
Both System.Type.IsEquivalentTo(System.Type) mscorlib
Both System.Type.operator ==(System.Type, System.Type) mscorlib
Both System.Type.ToString() mscorlib
Both System.ValueType mscorlib
Both System.ValueType.Equals(object) mscorlib
Both System.ValueType.GetHashCode() mscorlib
Both System.ValueType.ToString() mscorlib
Both System.Environment mscorlib
Both System.Environment.CurrentManagedThreadId mscorlib
Both System.Environment.NewLine mscorlib
Both System.Environment.ProcessorCount mscorlib
Both System.RuntimeType mscorlib
Both System.RuntimeType.operator !=(System.RuntimeType, System.RuntimeType) mscorlib
Both System.RuntimeType.GetFields(System.Reflection.BindingFlags) mscorlib
ModApi System.Timers.* System
ModApi System.Diagnostics.TraceEventType+* System
ModApi System.Reflection.AssemblyProductAttribute+* mscorlib
ModApi System.Reflection.AssemblyDescriptionAttribute+* mscorlib
ModApi System.Reflection.AssemblyConfigurationAttribute+* mscorlib
ModApi System.Reflection.AssemblyCompanyAttribute+* mscorlib
ModApi System.Reflection.AssemblyCultureAttribute+* mscorlib
ModApi System.Reflection.AssemblyVersionAttribute+* mscorlib
ModApi System.Reflection.AssemblyFileVersionAttribute+* mscorlib
ModApi System.Reflection.AssemblyCopyrightAttribute+* mscorlib
ModApi System.Reflection.AssemblyTrademarkAttribute+* mscorlib
ModApi System.Reflection.AssemblyTitleAttribute+* mscorlib
ModApi System.Runtime.InteropServices.ComVisibleAttribute+* mscorlib
ModApi System.ComponentModel.DefaultValueAttribute+* System
ModApi System.SerializableAttribute+* mscorlib
ModApi System.Runtime.InteropServices.GuidAttribute+* mscorlib
ModApi System.Runtime.InteropServices.StructLayoutAttribute+* mscorlib
ModApi System.Runtime.InteropServices.LayoutKind+* mscorlib
ModApi System.Guid+* mscorlib