content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
using MySqlConnector;
using System.Data.Common;
namespace NetLock_RMM_Web_Console.Classes.File_Server
{
public class Handler
{
// Get password of file by guid from database
public static async Task<string> Get_File_Password_By_Guid(string guid)
{
try
{
... | __label__POS | 0.869335 |
using NetLock_RMM_Web_Console;
using NetLock_RMM_Web_Console.Configuration;
using System.Configuration;
using System.Text.Json;
namespace Logging
{
public class Handler
{
public class Log_Data
{
public string type { get; set; } = string.Empty;
public string date { get; ... | __label__POS | 0.750517 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;
using Google.Authenticator;
namespace Randomizer
{
public class Handler
{
public static string Standard(int length)
{
try
... | __label__POS | 0.941918 |
namespace NetLock_RMM_Web_Console.Classes.Setup
{
public class Directories
{
public static void Check_Directories()
{
// Create the directories if they do not exist
if (!Directory.Exists(Application_Paths.logs_dir))
Directory.CreateDirectory(Application_... | __label__POS | 0.981741 |
using System.Net;
namespace NetLock_RMM_Web_Console.Classes.Setup
{
public class DNS
{
public static async Task<(bool, string)> Check_Dns_Forward_Reverse(string host)
{
try
{
IPAddress[] addresses = await Dns.GetHostAddressesAsync(host);
... | __label__POS | 0.942684 |
using Microsoft.AspNetCore.Http;
using MySqlConnector;
using System.Data.Common;
using System.Net;
using Telegram.Bot;
namespace NetLock_RMM_Web_Console.Classes.Helper.Notifications
{
public class Telegram
{
public static async Task<string> Send_Message(string id, string message)
{
... | __label__POS | 0.646152 |
using MonoFN.Cecil;
using MonoFN.Cecil.Cil;
using System.IO;
using Unity.CompilationPipeline.Common.ILPostProcessing;
namespace FishNet.CodeGenerating.ILCore
{
internal static class ILCoreHelper
{
/// <summary>
/// Returns AssembleDefinition for compiledAssembly.
/// </summary>
... | __label__POS | 0.643071 |
using System.Text.Json;
using System;
using System.IO;
using System.Linq;
using NetLock_RMM_User_Process;
namespace NetLock_RMM_User_Process.Windows.Helper
{
public class Handler
{
public class Log_Data
{
public string type { get; set; } = string.Empty;
public string da... | __label__POS | 0.786191 |
using System.Text.Json;
using System;
using System.IO;
using System.Linq;
using NetLock_RMM_Agent_Installer;
namespace Logging
{
public class Handler
{
public class Log_Data
{
public string type { get; set; } = string.Empty;
public string date { get; set; } = string.Emp... | __label__POS | 0.683748 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Helper
{
internal class Server_Config
{
// Read the base64 config from the file
public static string ReadBase64Config(string fileP... | __label__POS | 0.944908 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
namespace Helper
{
internal class Elevation
{
public static bool IsElevated()
{
try
... | __label__POS | 0.815056 |
using Helper;
using MacOS.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NetLock_RMM_Agent_Installer.MacOS.Helper
{
internal class MacOS
{
public static void CreateMacServiceFile()
{
string comm_... | __label__POS | 0.984623 |
using Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Linux.Helper
{
internal class Linux
{
// Helper method to create service files dynamically
public static void CreateServiceFile(string serviceFilePath, st... | __label__POS | 0.903664 |
using System.Text.Json;
using System.IO;
using System;
namespace NetLock_RMM_Tray_Icon.Config;
public class Handler
{
public class TrayButton
{
public string? Name { get; set; }
public string? Text { get; set; }
public string? Action { get; set; }
}
public static TrayButt... | __label__POS | 0.76723 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Diagnostics;
using NetLock_RMM_Agent_Remote;
using Global.Helper;
namespace Global.Initialization
{
internal class Health
{
// Check if the directories are ... | __label__POS | 0.706897 |
using System;
using System.Linq;
using System.Management;
using System.Security.Cryptography;
using System.Text;
namespace _x101.HWID_System
{
internal class WindowsId
{
[System.Reflection.ObfuscationAttribute(Feature = "Virtualization", Exclude = false)]
public static string GetWindowsId()
... | __label__POS | 0.735459 |
using System.IO;
using System.Management;
namespace _x101.HWID_System
{
internal class DiskId
{
[System.Reflection.ObfuscationAttribute(Feature = "Virtualization", Exclude = false)]
public static string GetDiskId()
{
return GetDiskId("");
}
private static s... | __label__POS | 0.779222 |
using MonoFN.Cecil.Cil;
using System;
namespace MonoFN.Cecil {
internal sealed class GenericParameterResolver {
internal static TypeReference ResolveReturnTypeIfNeeded (MethodReference methodReference)
{
if (methodReference.DeclaringType.IsArray && methodReference.Name == "Get")
return methodReference.Ret... | __label__POS | 0.745137 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace MacOS.Helper
{
public static class Plist
{
public static Dictionary<string, object> Parse(string plistContent)
{
try
{
var xDoc = XDocument.Parse(plistCon... | __label__POS | 0.885293 |
(* $Id: avlTree.mli,v 1.3 2003/06/18 15:11:07 yori Exp $ *)
(* Copyright 2003 Yamagata Yoriyuki. distributed with LGPL *)
(* Modified by Edgar Friendly <thelema314@gmail.com> *)
(** Internals of ISet and IMap, usable as generic tree library *)
type +'a tree
val empty : 'a tree
val is_empty : 'a tree -> bool
val ma... | __label__POS | 0.798821 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;
namespace Global.Helper
{
public class Randomnizer
{
public static async Task<string> Generate_Access_Key(int length)
{
string Val... | __label__POS | 0.985866 |
namespace Global.Configuration
{
public class Agent
{
public static bool debug_mode { get; set; } = false; //enables/disables logging
public static bool ssl { get; set; } = false;
public static string package_guid { get; set; } = String.Empty;
public static string communication_... | __label__POS | 0.997387 |
using System;
using System.Collections.Generic;
namespace MonoFN.Cecil {
internal sealed class MethodReferenceComparer : EqualityComparer<MethodReference> {
// Initialized lazily for each thread
[ThreadStatic]
static List<MethodReference> xComparisonStack = null;
[ThreadStatic]
static List<MethodReference>... | __label__POS | 0.870316 |
using NetLock_RMM_Server;
using NetLock_RMM_Server.Configuration;
using System.Text.Json;
namespace Logging
{
public class Handler
{
public class Log_Data
{
public string type { get; set; } = string.Empty;
public string date { get; set; } = string.Empty;
pub... | __label__POS | 0.702363 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Randomizer
{
public class Handler
{
public static string Generate_Password(bool special, int length)
{
string chars = null;
System.Random rando... | __label__POS | 0.98497 |
(*TODO: What is this module? Is it meant for public use?*)
type t
(**
[Substring.t] is the type of substrings of a basestring, an efficient
representation of a piece of a string.
A substring (s,i,n) is valid if 0 <= i <= i+n <= size s,
or equivalently, 0 <= i and 0 <= n and i+n <= size s.
... | __label__POS | 0.712836 |
using System;
using System.Linq;
using System.Management;
using System.Security.Cryptography;
using System.Text;
namespace _x101.HWID_System
{
internal class WindowsId
{
[System.Reflection.ObfuscationAttribute(Feature = "Virtualization", Exclude = false)]
public static string GetWindowsId()
... | __label__POS | 0.735459 |
using System.IO;
using System.Management;
namespace _x101.HWID_System
{
internal class DiskId
{
[System.Reflection.ObfuscationAttribute(Feature = "Virtualization", Exclude = false)]
public static string GetDiskId()
{
return GetDiskId("");
}
private static s... | __label__POS | 0.779222 |
namespace NetLock_RMM_Server.Setup
{
public class Directories
{
public static void Check_Directories()
{
// Create the directories if they do not exist
if (!Directory.Exists(Application_Paths.logs_dir))
Directory.CreateDirectory(Application_Paths.logs_dir... | __label__POS | 0.735737 |
using System.IO.Compression;
using System.Runtime.InteropServices;
using System.Text;
namespace NetLock_RMM_Server.Files.Compiler
{
public class Assembly_Manipulation
{
public static async Task<bool> Embedd_Server_Config(string path, string content)
{
try
{
... | __label__POS | 0.999709 |
using System;
using System.Collections.Generic;
namespace MonoFN.Cecil {
internal sealed class TypeReferenceEqualityComparer : EqualityComparer<TypeReference> {
public override bool Equals (TypeReference x, TypeReference y)
{
return AreEqual (x, y);
}
public override int GetHashCode (TypeReference obj)
... | __label__POS | 0.665016 |
using Microsoft.AspNetCore.Http;
using MySqlConnector;
using System.Data.Common;
using System.Net;
using Telegram.Bot;
using NetLock_RMM_Server.Configuration;
namespace Helper.Notifications
{
public class Telegram
{
public static async Task<bool> Send_Message(string id, string message)
{
... | __label__POS | 0.786601 |
using MySqlConnector;
using System.Data.Common;
using System.Text;
using NetLock_RMM_Server.Configuration;
namespace Helper.Notifications
{
public class Ntfy_sh
{
public static async Task<bool> Send_Message(string id, string message)
{
string topic_url = String.Empty;
s... | __label__POS | 0.692427 |
using Microsoft.AspNetCore.Components.Web;
using MySqlConnector;
using System.Text.Json;
namespace NetLock_RMM_Server.SignalR.Webconsole
{
public class Handler
{
public class Remote_Identity
{
public string? api_key { get; set; }
public string? command { get; set; }
... | __label__POS | 0.683325 |
using Global.Helper;
using MacOS.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MacOS.Helper
{
internal class MacOS
{
public static void CreateInstallerService()
{
string serviceScript = "IyEvYml... | __label__POS | 0.997129 |
namespace Global.Configuration
{
public class Agent
{
public static bool debug_mode { get; set; } = false; //enables/disables logging
public static bool ssl { get; set; } = false;
public static string package_guid { get; set; } = String.Empty;
public static string communication_... | __label__POS | 0.997387 |
using System;
using System.Linq;
using System.Management;
using System.Security.Cryptography;
using System.Text;
namespace _x101.HWID_System
{
internal class WindowsId
{
[System.Reflection.ObfuscationAttribute(Feature = "Virtualization", Exclude = false)]
public static string GetWindowsId()
... | __label__POS | 0.735459 |
using System.IO;
using System.Management;
namespace _x101.HWID_System
{
internal class DiskId
{
[System.Reflection.ObfuscationAttribute(Feature = "Virtualization", Exclude = false)]
public static string GetDiskId()
{
return GetDiskId("");
}
private static s... | __label__POS | 0.779222 |
using Global.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace MacOS.Helper
{
public static class Plist
{
public static Dictionary<string, object> Parse(string plistContent)
{
try
{
var xDoc = XDo... | __label__POS | 0.866099 |
using FishNet.CodeGenerating.ILCore;
using MonoFN.Cecil;
using System;
using System.Linq.Expressions;
using System.Reflection;
namespace FishNet.CodeGenerating.Helping.Extension
{
public static class ModuleDefinitionExtensions
{
/// <summary>
/// Gets a class within a module.
/// </su... | __label__POS | 0.850094 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace Global.Helper
{
internal class IO
{
public static string Get_SHA512(string FilePath)
{
try
... | __label__POS | 0.983257 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading.Tasks;
namespace Global.Helper
{
internal class Network
{
public static string Get_Local_IP_Address()
{
try
{
... | __label__POS | 0.639797 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;
namespace Global.Helper
{
public class Randomizer
{
public static async Task<string> Generate_Access_Key(int length)
{
string Vali... | __label__POS | 0.985527 |
using FishNet.Object.Helping;
using MonoFN.Cecil;
using System.Collections.Generic;
namespace FishNet.CodeGenerating.Processing.Rpc
{
internal class CreatedRpc
{
public MethodDefinition OriginalMethodDef;
public uint MethodHash;
public AttributeData AttributeData;
public Metho... | __label__POS | 0.690781 |
using System;
using System.Collections.Generic;
using System.IO.Compression;
using System.Linq;
using System.Runtime;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.IO;
using Microsoft.Data.Sqlite;
using NetLock_RMM_Agent_Comm;
using Global.Helper;
namespace Global.Initializatio... | __label__POS | 0.955793 |
namespace Global.Configuration
{
public class Agent
{
public static bool debug_mode { get; set; } = false; //enables/disables logging
public static bool ssl { get; set; } = false;
public static string package_guid { get; set; } = String.Empty;
public static string communication_... | __label__POS | 0.997387 |
using ES;
using Sirenix.OdinInspector;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Xml.Serialization;
using UnityEngine;
public class testCopyTo : MonoBehaviour
{
[Serializable]
public class WithDoubleData001 : IWithSharedAndVariableData<SharedData001, VariableData001... | __label__POS | 0.605851 |
using ES.EvPointer;
using Sirenix.OdinInspector;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
//运行逻辑模块的组成分为 自身逻辑体(RunTimeLogic),共享数据(SharedData_),变量数据(VariableData_)
//共享数据->共享数据可以让大量数据唯一存在,尽量不产生副本,如果需要对数据加成可以写在状态里
[Serializable,TypeRegistryI... | __label__POS | 0.892287 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using UnityEngine;
namespace ES {
public static class ExtensionForString
{
public static StringBuilder EX_GetBuilder(this string selfStr)
{
... | __label__POS | 0.853653 |
using ES;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
public static class ExtensionForGameObject
{
// 41. 检查GameObject是否有特定组件
public static bool EX_HasComponent<T>(this GameObject gameObject) where T : Component
{
... | __label__POS | 0.85299 |
using ES;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES {
public static class ExtensionForDateTime
{
// 71. 将秒数转换为"mm:ss"格式
public static string EX_AsMinutesSeconds(this float seconds)
{
return TimeSpan.FromSeconds... | __label__POS | 0.618868 |
using ES;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
public static class ExtensionForCompoent
{
public static T EX_GetCompoentInParentExcludeSelf<T>(this Component self,bool includeInactive=true) where T : Component
{
... | __label__POS | 0.912969 |
using ES;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using UnityEngine;
namespace ES
{
public static class ExtensionForEnum
{
// 81. 检查枚举是否包含特定标志
public static bool HasFlag<T>(this T enumValue, T flag) where T : E... | __label__POS | 0.988831 |
using ES;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
public static class ExtensionForEnumable
{
// 21. 随机获取数组元素
public static T EX_RandomItem<T>(this T[] array)
{
if (array == null || array.Length == 0) retur... | __label__POS | 0.998072 |
using ES.EvPointer;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using UnityEngine;
using UnityEngine.UIElements;
namespace ES
{
public static partial class ExtensionNormal
{
public static B BePicked<T, P, B>(this T... | __label__POS | 0.942772 |
using ES;
using Sirenix.OdinInspector;
using Sirenix.Serialization;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES {
[Serializable]
public struct ESTag
{
[LabelText("内容"),ValueDropdown("GetTags")]public string content;
[LabelText(... | __label__POS | 0.921104 |
using Sirenix.OdinInspector;
using Sirenix.Serialization;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.AI;
using UnityEngine.InputSystem;
namespace ES
{
//这里准备了一系列高性能双层数据容器-与模块无关哈
#region 抽象定义
[Serializable,TypeRegistryIte... | __label__POS | 0.984073 |
using ES.EvPointer;
using Sirenix.OdinInspector;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static ES.KeyValueMatchingUtility;
/*
扩展时 建议创建新的脚本
修改文件时 使用 #region + 自己的名字
格式尽量统一
多交流 --- Everey
*/
namespace ES
{
//核心 Ev针支持 支持对ESValue针播放器的Get和Set 部分
//基本... | __label__POS | 0.95134 |
using ES.EvPointer;
using Sirenix.OdinInspector;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
public abstract class PointerPlayerWithESValue : PointerPlayer {
public override IPointer Pointer => null;
[LabelText("值改变时,调用-↓"), SerializeReference, GUI... | __label__POS | 0.829429 |
using ES.EvPointer;
using Sirenix.OdinInspector;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
[RequireComponent(typeof(Collider))]
public class PointerPlayerByCollider3D : PointerPlayerByColliderOrTrigger<PointerForCollider3DCaster>
{
public override... | __label__POS | 0.725684 |
using ES;
using FishNet.Authenticating;
using FishNet.Connection;
using FishNet.Managing;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
public class ESAuthenticator : Authenticator
{
public override event Action<NetworkConnection,... | __label__POS | 0.746232 |
using ES;
using Sirenix.OdinInspector;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
public class ESNetLocalDomain : BaseDomain<ESNetManager, LocalClipForESNetManager>
{
[NonSerialized] public ClipLocal_LocalFunctionBlock Modole_Block... | __label__POS | 0.660858 |
using ES;
using Sirenix.OdinInspector;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES {
#region 原始定义
[Serializable, TypeRegistryItem("物品共享数据")]
public class ESItemSharedData : ISharedData
{
[LabelText("物品显示名称")] public string itemDispl... | __label__POS | 0.867347 |
using Sirenix.OdinInspector;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEditor;
using UnityEngine;
namespace ES
{
public partial class ESEditorRuntimePartMaster : SingletonAsMono<ESEditorRuntimePartMaster>
{
[LabelText("提示"),PropertyO... | __label__POS | 0.999637 |
using ES;
using ES.EvPointer;
using Sirenix.OdinInspector;
using Sirenix.Utilities.Editor;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace ES
{
//必须纯编辑器环境才能用
public class ESEditorOnlyPartMaster : SingletonAsMono<ESEdit... | __label__POS | 0.963421 |
using ES;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
namespace ES
{
public static partial class KeyValueMatchingUtility
{
//反射
public static class Reflection
{
public static T EasyGetField<T>(object ... | __label__POS | 0.860013 |
using DG.Tweening;
using ES;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using UnityEngine;
namespace ES
{
public static partial class KeyValueMatchingUtility
{
//函数器
public static class Function
{
... | __label__POS | 0.787167 |
using ES;
using ES.EvPointer;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
namespace ES
{
public static partial class KeyValueMatchingUtility
{
//创建器
public static class Creator
{
//深拷贝+泛型
... | __label__POS | 0.697249 |
using ES;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using static ES.EnumCollect;
namespace ES
{
public static partial class KeyValueMatchingUtility
{
//排序器
public static class Sorter
{
public static List<... | __label__POS | 0.761589 |
using ES;
using ES.EvPointer;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
public static partial class KeyValueMatchingUtility
{
//Link事件
public static class ESLink
{
public static class ForEntityLink
... | __label__POS | 0.997933 |
using ES.EvPointer;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using UnityEngine;
using UnityEngine.InputSystem;
using static ES.EnumCollect;
using UnityEngine.UIElements;
using DG.Tweening;
using UnityEngine.Events;
using Sirenix.Utilities;
u... | __label__POS | 0.999775 |
using ES;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
public static partial class KeyValueMatchingUtility
{
//匹配器
public static class Matcher
{
public static string EnumToString_SkillPointState(EnumCollect.Skil... | __label__POS | 0.782482 |
using ES;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace ES
{
public static partial class KeyValueMatchingUtility
{
public static class ESBack
{
public static class ForEntityBack
{
... | __label__POS | 0.822824 |
using ES;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
public static partial class KeyValueMatchingUtility
{
//数据应用器
public static class DataApply
{
#region Copy
//完全同类型的具有Class变量-
public... | __label__POS | 0.94077 |
using ES;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
namespace ES
{
public static partial class KeyValueMatchingUtility
{
public class ScriptMaker
{
private static string className = "NewBehaviour";
priv... | __label__POS | 0.928749 |
using ES;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
public static partial class KeyValueMatchingUtility
{
//GUI Color 颜色库
public static class ColorSelector
{
//使用方法↓
//GUIColor("@OLDKeyValueMatchi... | __label__POS | 0.999894 |
using ES;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace ES
{
public static partial class KeyValueMatchingUtility
{
//数据针集合器
public static class KeyPointer
{
//为了性能,分成5种把
public static st... | __label__POS | 0.954252 |
using ES;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
public static partial class KeyValueMatchingUtility
{
//取数据器
public static class DataInfoPointer
{
public static BuffSoInfo PickBuffSoInfoByKey(string key, ... | __label__POS | 0.989145 |
using ES;
using ES.EvPointer;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
public class BaseESCampStrategy : BaseRunTimeStrategy<AllESCampStrategy, BaseESCampStrategy>
{
/*public static Dictionary<>*/
public override Dictionary<AllE... | __label__POS | 0.979063 |
using ES;
using ES.EvPointer;
using Sirenix.OdinInspector;
using Sirenix.OdinInspector.Editor;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEditor;
using UnityEngine;
namespace ES
{
public class ESPreviewWindow : ESWindowBase_Abstract<ESPreview... | __label__POS | 0.710204 |
using DG.Tweening.Plugins.Core.PathCore;
using ES;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace ES
{
public class ESResEditor
{
#region Asset菜单部分
[InitializeOnLoad]
public cl... | __label__POS | 0.913947 |
local function add_path()
local here = debug.getinfo(1, 'S').source:sub(2)
local dir = here:match('(.*[/%\\])') or ''
package.path = dir .. '../?.lua;' .. dir .. '../../Prometheus/src/?.lua;' .. package.path
end
add_path()
local Pipeline = require('deob.pipeline')
local ConstantArrayDecode = require('deob.steps.... | __label__POS | 0.729309 |
local Ast = require('prometheus.ast')
local Unparser = require('prometheus.unparser')
local visitast = require('prometheus.visitast')
local UndoVmify = {}
UndoVmify.__index = UndoVmify
UndoVmify.Name = 'UndoVmify'
function UndoVmify:new()
return setmetatable({}, self)
end
local function count_ifs(block)
local K ... | __label__POS | 0.997911 |
local Ast = require('prometheus.ast')
local Unparser = require('prometheus.unparser')
local DynamicTrace = {}
DynamicTrace.__index = DynamicTrace
DynamicTrace.Name = 'DynamicTrace'
function DynamicTrace:new(opts)
return setmetatable({ opts = opts or {} }, self)
end
local is_lua51 = _VERSION == 'Lua 5.1'
local fun... | __label__POS | 0.8226 |
local Ast = require('prometheus.ast')
local UnwrapFunction = {}
UnwrapFunction.__index = UnwrapFunction
UnwrapFunction.Name = 'UnwrapFunction'
function UnwrapFunction:new()
return setmetatable({}, self)
end
local function unwrap_once(ast)
local ret = ast.body.statements[1]
if not ret or ret.kind ~= Ast.AstKind... | __label__POS | 0.996405 |
local Ast = require('prometheus.ast')
local visitast = require('prometheus.visitast')
local UndoEncryptStrings = {}
UndoEncryptStrings.__index = UndoEncryptStrings
UndoEncryptStrings.Name = 'UndoEncryptStrings'
function UndoEncryptStrings:new()
return setmetatable({}, self)
end
local K
local function extract_numb... | __label__POS | 0.969281 |
local Ast = require('prometheus.ast')
local visitast = require('prometheus.visitast')
local EnvNormalize = {}
EnvNormalize.__index = EnvNormalize
EnvNormalize.Name = 'EnvNormalize'
local whitelist = {
print=true, table=true, string=true, math=true,
setmetatable=true, getmetatable=true, select=true,
unpack=true,... | __label__POS | 0.944985 |
local Ast = require('prometheus.ast')
local visitast = require('prometheus.visitast')
local FoldNumbers = {}
FoldNumbers.__index = FoldNumbers
FoldNumbers.Name = 'FoldNumbers'
function FoldNumbers:new()
return setmetatable({}, self)
end
local K
local function try_num(node)
if node.isConstant and type(node.value... | __label__POS | 0.991763 |
local Ast = require('prometheus.ast')
local visitast = require('prometheus.visitast')
local FoldConcats = {}
FoldConcats.__index = FoldConcats
FoldConcats.Name = 'FoldConcats'
function FoldConcats:new()
return setmetatable({}, self)
end
local function flatten_strcat(node, out)
local K = Ast.AstKind
if node.kin... | __label__POS | 0.981065 |
local Ast = require('prometheus.ast')
local visitast = require('prometheus.visitast')
local ConstantArrayDecode = {}
ConstantArrayDecode.__index = ConstantArrayDecode
ConstantArrayDecode.Name = 'ConstantArrayDecode'
local is_lua51 = _VERSION == 'Lua 5.1'
local function compile(code)
if is_lua51 then
local fn, e... | __label__POS | 0.988096 |
local Ast = require('prometheus.ast')
local visitast = require('prometheus.visitast')
local Cleanup = {}
Cleanup.__index = Cleanup
Cleanup.Name = 'CleanupObfuscatorScaffold'
function Cleanup:new()
return setmetatable({}, self)
end
local function is_empty_local(st)
if st.kind ~= Ast.AstKind.LocalVariableDeclarati... | __label__POS | 0.999644 |
local Ast = require('prometheus.ast')
local visitast = require('prometheus.visitast')
local UndoSplitStrings = {}
UndoSplitStrings.__index = UndoSplitStrings
UndoSplitStrings.Name = 'UndoSplitStrings'
function UndoSplitStrings:new()
return setmetatable({}, self)
end
local K
local function is_lit_string_table(tb)
... | __label__POS | 0.999493 |
local Ast = require('prometheus.ast')
local Unparser = require('prometheus.unparser')
local DispatchFlatten = {}
DispatchFlatten.__index = DispatchFlatten
DispatchFlatten.Name = 'DispatchFlatten'
function DispatchFlatten:new()
return setmetatable({}, self)
end
local function find_dispatch_with_parent(ast)
local ... | __label__POS | 0.993962 |
local Ast = require('prometheus.ast')
local visitast = require('prometheus.visitast')
local UndoProxifyLocals = {}
UndoProxifyLocals.__index = UndoProxifyLocals
UndoProxifyLocals.Name = 'UndoProxifyLocals'
function UndoProxifyLocals:new()
return setmetatable({}, self)
end
local K
local function find_value_name_ke... | __label__POS | 0.997907 |
using ES;
using Sirenix.OdinInspector;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
public class ESUIRoot : SerializedMonoBehaviour
{
[LabelText("全部面板(持久)")]
public Dictionary<string, ESUIElement> AllPanels = new Dictionary<string,... | __label__POS | 0.945156 |
using ES;
using GameKit.Dependencies.Utilities;
using Sirenix.OdinInspector;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
public class ESUIPanel : ESUIElement
{
[LabelText("全部元素(持久)")]
public Dictionary<string, ESUIElement> AllElem... | __label__POS | 0.848647 |
using Sirenix.OdinInspector;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace ES
{
[CreateAssetMenu(fileName = "独立数据-ES类型表配置", menuName = "ES数据/ES类型表")]
public class ESTypeSelecter : SerializedScriptableObject
{
/*[LabelText(... | __label__POS | 0.963842 |
using Sirenix.OdinInspector;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace ES
{
[CreateAssetMenu(fileName = "独立数据-ES层级字符串配置", menuName = "ES数据/ES层级字符串")]
public class ESLayerStringSO : SerializedScriptableObject
{
[LabelText("创建标签(分组/标签... | __label__POS | 0.814749 |
using ES;
using FishNet.Transporting;
using Sirenix.OdinInspector;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
[CreateAssetMenu(fileName = "独立数据-ES阵营机制表", menuName = "ES数据/ES阵营机制表")]
public class ESCampMaker : SerializedScriptableObject
{
... | __label__POS | 0.727816 |
using Sirenix.OdinInspector;
using Sirenix.Serialization;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ES
{
[ESDisplayNameKeyToType("数据单元", "状态数据单元")]
public class StateDataInfo : SoDataInfo
{
[InfoBox("如果是子状态(非第一层),不能勾选", InfoMessageType.Wa... | __label__POS | 0.741006 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.