Exemplo n.º 1
0
                internal static bool Contact(string response_str, InfoStruct returninfo)
                {
                    ResponseStruct responseobj = MelonUtils.ParseJSONStringtoStruct <ResponseStruct>(response_str);

                    if (responseobj == null)
                    {
                        return(false);
                    }

                    //returninfo.ForceDumperVersion = responseobj.forceDumperVersion;
                    returninfo.ForceUnhollowerVersion = responseobj.forceUnhollowerVersion;
                    returninfo.ObfuscationRegex       = responseobj.obfuscationRegex;
                    returninfo.MappingURL             = responseobj.mappingURL;
                    returninfo.MappingFileSHA512      = responseobj.mappingFileSHA512;

                    return(true);
                }
Exemplo n.º 2
0
                internal static InfoStruct Contact(string response_str)
                {
                    ResponseStruct responseobj = MelonUtils.ParseJSONStringtoStruct <ResponseStruct>(response_str);

                    if (responseobj == null)
                    {
                        return(null);
                    }

                    InfoStruct returninfo = new InfoStruct();

                    returninfo.ForceDumperVersion     = responseobj.forceCpp2IlVersion;
                    returninfo.ForceUnhollowerVersion = responseobj.forceUnhollowerVersion;
                    returninfo.ObfuscationRegex       = responseobj.obfuscationRegex;
                    returninfo.MappingURL             = responseobj.mappingUrl;
                    returninfo.MappingFileSHA512      = responseobj.mappingFileSHA512;
                    return(returninfo);
                }