66 lines
1.1 KiB
Plaintext
66 lines
1.1 KiB
Plaintext
URL: https://wiki.studiominus.nl/details/shadyCodeRejection.html
|
|
Title: People Playground Modding - Shady Code Rejection
|
|
==================================================
|
|
|
|
Shady Code Rejection
|
|
To prevent modders from creating malicious mods, the game skims the source code and rejects the mod completely if it encounters specific structures or keywords.
|
|
If you try to use any of the following, your mod will be marked as suspicious:
|
|
Forbidden modifiers
|
|
|
|
extern
|
|
|
|
Forbidden identifiers
|
|
|
|
InteropServices
|
|
Diagnostics
|
|
Http
|
|
CodeDom
|
|
Application
|
|
Quit
|
|
UnityWebRequest
|
|
TextReader
|
|
TextWriter
|
|
BinaryReader
|
|
BinaryWriter
|
|
StreamReader
|
|
StreamWriter
|
|
StringReader
|
|
StringWriter
|
|
FileStream
|
|
IsolatedStorageFileStream
|
|
NetworkStream
|
|
PipeStream
|
|
UserPreferenceManager
|
|
WebRequest
|
|
WebClient
|
|
WebSocket
|
|
Socket
|
|
Steamworks
|
|
Process
|
|
DllImport
|
|
LoadFile
|
|
ReadFile
|
|
WWW
|
|
AppDomain
|
|
AssemblyBuilder
|
|
FromFile
|
|
OpenURL
|
|
LoadURL
|
|
RejectShadyCode
|
|
CreateType
|
|
File
|
|
FileInfo
|
|
Directory
|
|
DirectoryInfo
|
|
Assembly
|
|
|
|
Forbidden using directives
|
|
|
|
using System.Security
|
|
using System.Web
|
|
using UnityEngine.Networking
|
|
using Steamworks
|
|
|
|
or any using directive with aliases, such as
|
|
|
|
using Rand = UnityEngine.Random |