text stringlengths 7 35.3M | id stringlengths 11 185 | metadata dict | __index_level_0__ int64 0 2.14k |
|---|---|---|---|
fileFormatVersion: 2
guid: 5999bd61b5ca4e5ba50b20b2e3a7f9b2
timeCreated: 1507865451 | ET/Unity/Assets/Scripts/Editor/Helper.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Editor/Helper.meta",
"repo_id": "ET",
"token_count": 44
} | 113 |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ET
{
}
| ET/Unity/Assets/Scripts/Editor/Plugins/Example/ExampleEditor.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Editor/Plugins/Example/ExampleEditor.cs",
"repo_id": "ET",
"token_count": 30
} | 114 |
fileFormatVersion: 2
guid: c38213e2fca6b8b489ffb3fee170c51f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Client/Demo/Main/Login.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Client/Demo/Main/Login.meta",
"repo_id": "ET",
"token_count": 70
} | 115 |
fileFormatVersion: 2
guid: 0f70391ff9eb499db68bae992a9c85b6
timeCreated: 1688540041 | ET/Unity/Assets/Scripts/Hotfix/Client/Demo/NetClient/A2NetClient_MessageHandler.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Client/Demo/NetClient/A2NetClient_MessageHandler.cs.meta",
"repo_id": "ET",
"token_count": 37
} | 116 |
fileFormatVersion: 2
guid: 567a551c7abf2fd4c9b592af991b609e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Client/Demo/NetClient/Router/RouterAddressComponentSystem.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Client/Demo/NetClient/Router/RouterAddressComponentSystem.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 117 |
using System;
namespace ET.Client
{
[EntitySystemOf(typeof(LSReplayUpdater))]
[FriendOf(typeof(LSReplayUpdater))]
public static partial class LSReplayUpdaterSystem
{
[EntitySystem]
private static void Awake(this LSReplayUpdater self)
{
}
[EntitySystem]
... | ET/Unity/Assets/Scripts/Hotfix/Client/LockStep/LSReplayUpdaterSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Client/LockStep/LSReplayUpdaterSystem.cs",
"repo_id": "ET",
"token_count": 1050
} | 118 |
using System;
namespace ET.Client
{
[Invoke((long)SceneType.NetClient)]
public class NetComponentOnReadInvoker_NetClient: AInvokeHandler<NetComponentOnRead>
{
public override void Handle(NetComponentOnRead args)
{
Session session = args.Session;
object message = arg... | ET/Unity/Assets/Scripts/Hotfix/Client/Module/Message/NetComponentOnReadInvoker_NetClient.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Client/Module/Message/NetComponentOnReadInvoker_NetClient.cs",
"repo_id": "ET",
"token_count": 831
} | 119 |
using System.Net;
using System.Net.Sockets;
using ET.Client;
namespace ET.Server
{
[Invoke((long)SceneType.BenchmarkServer)]
public class FiberInit_BenchmarkServer: AInvokeHandler<FiberInit, ETTask>
{
public override async ETTask Handle(FiberInit fiberInit)
{
Scene root = fiber... | ET/Unity/Assets/Scripts/Hotfix/Server/Benchmark/FiberInit_BenchmarkServer.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Benchmark/FiberInit_BenchmarkServer.cs",
"repo_id": "ET",
"token_count": 439
} | 120 |
fileFormatVersion: 2
guid: 8679dc7d3ea6fe4478111d3d3948d6cc
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Gate/C2G_PingHandler.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Gate/C2G_PingHandler.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 121 |
namespace ET.Server
{
[MessageLocationHandler(SceneType.Map)]
public class C2M_PathfindingResultHandler : MessageLocationHandler<Unit, C2M_PathfindingResult>
{
protected override async ETTask Run(Unit unit, C2M_PathfindingResult message)
{
unit.FindPathMoveToAsync(message.Position).Coroutine();
await ETT... | ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Map/Move/C2M_PathfindingResultHandler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Map/Move/C2M_PathfindingResultHandler.cs",
"repo_id": "ET",
"token_count": 119
} | 122 |
using System;
using Unity.Mathematics;
namespace ET.Server
{
public static partial class UnitFactory
{
public static Unit Create(Scene scene, long id, UnitType unitType)
{
UnitComponent unitComponent = scene.GetComponent<UnitComponent>();
switch (unitType)
{... | ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Map/Unit/UnitFactory.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Map/Unit/UnitFactory.cs",
"repo_id": "ET",
"token_count": 649
} | 123 |
fileFormatVersion: 2
guid: 09a50e10da1069b4ca4863e50eb997fa
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Robot/Case.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Robot/Case.meta",
"repo_id": "ET",
"token_count": 68
} | 124 |
fileFormatVersion: 2
guid: 74b099ff0f3523d47af0595ae8bf6b3f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Watcher/WatcherComponentSystem.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Watcher/WatcherComponentSystem.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 125 |
using System;
using System.Collections.Generic;
namespace ET.Server
{
[MessageHandler(SceneType.Map)]
public class Match2Map_GetRoomHandler : MessageHandler<Scene, Match2Map_GetRoom, Map2Match_GetRoom>
{
protected override async ETTask Run(Scene root, Match2Map_GetRoom request, Map2Match_GetRoom response)
{
... | ET/Unity/Assets/Scripts/Hotfix/Server/LockStep/Map/Match2Map_GetRoomHandler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/LockStep/Map/Match2Map_GetRoomHandler.cs",
"repo_id": "ET",
"token_count": 354
} | 126 |
using System.Net;
namespace ET.Server
{
[Invoke((long)SceneType.RoomRoot)]
public class FiberInit_RoomRoot: AInvokeHandler<FiberInit, ETTask>
{
public override async ETTask Handle(FiberInit fiberInit)
{
Scene root = fiberInit.Fiber.Root;
root.AddComponent<MailBoxCom... | ET/Unity/Assets/Scripts/Hotfix/Server/LockStep/Room/FiberInit_RoomRoot.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/LockStep/Room/FiberInit_RoomRoot.cs",
"repo_id": "ET",
"token_count": 320
} | 127 |
namespace ET.Server
{
public static partial class AOISeeCheckHelper
{
public static bool IsCanSee(AOIEntity a, AOIEntity b)
{
return true;
}
}
} | ET/Unity/Assets/Scripts/Hotfix/Server/Module/AOI/AOISeeCheckHelper.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/AOI/AOISeeCheckHelper.cs",
"repo_id": "ET",
"token_count": 98
} | 128 |
fileFormatVersion: 2
guid: abf07b8e1c20b444fa7a5721d302d082
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/MessageLocationSenderSystem.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/MessageLocationSenderSystem.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 129 |
fileFormatVersion: 2
guid: cd3c768fde72d464094ec6d867788cf7
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Module/Http.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/Http.meta",
"repo_id": "ET",
"token_count": 69
} | 130 |
namespace ET.Server
{
// 这里为什么能定义class呢?因为这里只有逻辑,热重载后新的handler替换旧的,仍然没有问题
public abstract class ARobotCase: AInvokeHandler<RobotInvokeArgs, ETTask>
{
protected abstract ETTask Run(RobotCase robotCase);
public override async ETTask Handle(RobotInvokeArgs a)
{
using RobotC... | ET/Unity/Assets/Scripts/Hotfix/Server/Module/RobotCase/ARobotCase.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/RobotCase/ARobotCase.cs",
"repo_id": "ET",
"token_count": 413
} | 131 |
fileFormatVersion: 2
guid: b4c6cd5890235a44586579650c6b4b20
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Plugins/Example/HotfixServer.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Plugins/Example/HotfixServer.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 132 |
fileFormatVersion: 2
guid: 524c1cf3137abd64499ebf1a42a7f879
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Share/Module.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/Module.meta",
"repo_id": "ET",
"token_count": 71
} | 133 |
namespace ET
{
[ConsoleHandler(ConsoleMode.ReloadDll)]
public class ReloadDllConsoleHandler: IConsoleHandler
{
public async ETTask Run(Fiber fiber, ModeContex contex, string content)
{
await ETTask.CompletedTask;
CodeLoader.Instance.Reload();
}
}
} | ET/Unity/Assets/Scripts/Hotfix/Share/Module/Console/ReloadDllConsoleHandler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/Module/Console/ReloadDllConsoleHandler.cs",
"repo_id": "ET",
"token_count": 132
} | 134 |
fileFormatVersion: 2
guid: e1215d410dbbdb144be73a6410148c59
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Share/Module/Numeric/NumericWatcher_Hp_ShowUI.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/Module/Numeric/NumericWatcher_Hp_ShowUI.cs.meta",
"repo_id": "ET",
"token_count": 92
} | 135 |
{
"name": "Unity.Hotfix",
"rootNamespace": "ET",
"references": [
"Unity.ThirdParty",
"Unity.Core",
"Unity.Mathematics",
"Unity.Loader",
"MemoryPack",
"Unity.Model"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": true,
... | ET/Unity/Assets/Scripts/Hotfix/Unity.Hotfix.asmdef/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Unity.Hotfix.asmdef",
"repo_id": "ET",
"token_count": 251
} | 136 |
fileFormatVersion: 2
guid: a18b8a4c75ae1184c8e0ec3bfbbb6f3c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/HotfixView/Client/Demo/UI/UILogin.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/Demo/UI/UILogin.meta",
"repo_id": "ET",
"token_count": 74
} | 137 |
using UnityEngine;
namespace ET.Client
{
[Event(SceneType.Current)]
public class ChangeRotation_SyncGameObjectRotation: AEvent<Scene, ChangeRotation>
{
protected override async ETTask Run(Scene scene, ChangeRotation args)
{
Unit unit = args.Unit;
GameObjectComponent ... | ET/Unity/Assets/Scripts/HotfixView/Client/Demo/Unit/ChangeRotation_SyncGameObjectRotation.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/Demo/Unit/ChangeRotation_SyncGameObjectRotation.cs",
"repo_id": "ET",
"token_count": 281
} | 138 |
using UnityEngine;
namespace ET.Client
{
[EntitySystemOf(typeof(LSUnitViewComponent))]
public static partial class LSUnitViewComponentSystem
{
[EntitySystem]
private static void Awake(this LSUnitViewComponent self)
{
}
[EntitySystem]
private static... | ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/LSUnitViewComponentSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/LSUnitViewComponentSystem.cs",
"repo_id": "ET",
"token_count": 652
} | 139 |
namespace ET.Client
{
[Event(SceneType.LockStep)]
public class AppStartInitFinish_CreateUILSLogin: AEvent<Scene, AppStartInitFinish>
{
protected override async ETTask Run(Scene root, AppStartInitFinish args)
{
await UIHelper.Create(root, UIType.UILSLogin, UILayer.Mid);
}
}
}
| ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSLogin/AppStartInitFinish_CreateUILSLogin.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSLogin/AppStartInitFinish_CreateUILSLogin.cs",
"repo_id": "ET",
"token_count": 112
} | 140 |
fileFormatVersion: 2
guid: 881672317f491394d973cb9950d5c146
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/HotfixView/Client/Module/Resource/GameObjectHelper.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/Module/Resource/GameObjectHelper.cs.meta",
"repo_id": "ET",
"token_count": 93
} | 141 |
fileFormatVersion: 2
guid: 7d8c8789b4b09c048a09d38c44ad1d1f
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/HotfixView/Unity.HotfixView.asmdef.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Unity.HotfixView.asmdef.meta",
"repo_id": "ET",
"token_count": 69
} | 142 |
fileFormatVersion: 2
guid: f3622259112f64aaeb03ea4c8e36cb92
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Loader/Plugins.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Loader/Plugins.meta",
"repo_id": "ET",
"token_count": 69
} | 143 |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace ET
{
/// <summary>
/// 内置资源清单
/// </summary>
public class BuildinFileManifest : ScriptableObject
{
[Serializable]
public class Element
{
public string PackageName;
public str... | ET/Unity/Assets/Scripts/Loader/Resource/StreamingAssetsHelper/BuildinFileManifest.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Loader/Resource/StreamingAssetsHelper/BuildinFileManifest.cs",
"repo_id": "ET",
"token_count": 202
} | 144 |
fileFormatVersion: 2
guid: c247787106f44a8f99a58bd0037a2c5e
timeCreated: 1688537682 | ET/Unity/Assets/Scripts/Model/Client/Demo/Main.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Client/Demo/Main.meta",
"repo_id": "ET",
"token_count": 38
} | 145 |
fileFormatVersion: 2
guid: e50ffa067a184f40894c598dea0d7020
timeCreated: 1688538532 | ET/Unity/Assets/Scripts/Model/Client/Demo/NetClient/A2NetClient_Message.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Client/Demo/NetClient/A2NetClient_Message.cs.meta",
"repo_id": "ET",
"token_count": 37
} | 146 |
fileFormatVersion: 2
guid: 02de10d07ce524cb9bc79e666f460484
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Client/LockStep/EventType.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Client/LockStep/EventType.cs.meta",
"repo_id": "ET",
"token_count": 91
} | 147 |
fileFormatVersion: 2
guid: 67d21a80f9f5d4a45823f7d0d16eb933
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Generate/Client.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Generate/Client.meta",
"repo_id": "ET",
"token_count": 73
} | 148 |
fileFormatVersion: 2
guid: 027f4382299e1a7499130098fd865aa1
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Generate/ClientServer/Config.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Generate/ClientServer/Config.meta",
"repo_id": "ET",
"token_count": 69
} | 149 |
fileFormatVersion: 2
guid: c68c60b0718e272488136d3e3e0672ec
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Server/Benchmark/BenchmarkClientComponent.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Benchmark/BenchmarkClientComponent.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 150 |
namespace ET.Server
{
[ComponentOf(typeof(Session))]
public class SessionPlayerComponent : Entity, IAwake, IDestroy
{
private EntityRef<Player> player;
public Player Player
{
get
{
return this.player;
}
set
{
this.player = value;
}
}
}
} | ET/Unity/Assets/Scripts/Model/Server/Demo/Gate/SessionPlayerComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Demo/Gate/SessionPlayerComponent.cs",
"repo_id": "ET",
"token_count": 123
} | 151 |
using System.Collections.Generic;
using System.Diagnostics;
namespace ET.Server
{
[ComponentOf(typeof(Scene))]
public class WatcherComponent: Entity, IAwake
{
public readonly Dictionary<int, System.Diagnostics.Process> Processes = new Dictionary<int, System.Diagnostics.Process>();
}
} | ET/Unity/Assets/Scripts/Model/Server/Demo/Watcher/WatcherComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Demo/Watcher/WatcherComponent.cs",
"repo_id": "ET",
"token_count": 106
} | 152 |
fileFormatVersion: 2
guid: 78ca54cc32ca42a9861cd379ff3fc3e8
timeCreated: 1681817948 | ET/Unity/Assets/Scripts/Model/Server/LockStep/Room.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/LockStep/Room.meta",
"repo_id": "ET",
"token_count": 35
} | 153 |
using System;
namespace ET.Server
{
[ComponentOf(typeof(Scene))]
public class LocationProxyComponent: Entity, IAwake
{
}
} | ET/Unity/Assets/Scripts/Model/Server/Module/ActorLocation/LocationProxyComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Module/ActorLocation/LocationProxyComponent.cs",
"repo_id": "ET",
"token_count": 56
} | 154 |
using System;
using System.Collections.Generic;
namespace ET.Server
{
[Code]
public class HttpDispatcher: Singleton<HttpDispatcher>, ISingletonAwake
{
private readonly Dictionary<string, Dictionary<int, IHttpHandler>> dispatcher = new();
public void Awake()
{
H... | ET/Unity/Assets/Scripts/Model/Server/Module/Http/HttpDispatcher.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Module/Http/HttpDispatcher.cs",
"repo_id": "ET",
"token_count": 799
} | 155 |
fileFormatVersion: 2
guid: e9f8ce7fbba8b27458372ab3ff3c0e7f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Server/Module/RobotCase/RobotCase.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Module/RobotCase/RobotCase.cs.meta",
"repo_id": "ET",
"token_count": 97
} | 156 |
fileFormatVersion: 2
guid: c62694a15545f4b599f146f8a44e417c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Share/LockStep/LSUnit.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/LockStep/LSUnit.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 157 |
namespace ET
{
[EntitySystemOf(typeof(ModeContex))]
[FriendOf(typeof(ModeContex))]
public static partial class ModeContexSystem
{
[EntitySystem]
private static void Awake(this ModeContex self)
{
self.Mode = "";
}
[EntitySystem]
privat... | ET/Unity/Assets/Scripts/Model/Share/Module/Console/ModeContex.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/Console/ModeContex.cs",
"repo_id": "ET",
"token_count": 273
} | 158 |
fileFormatVersion: 2
guid: 695ce9e84f2f8e14fa080f2624e5ee15
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Share/Module/Message/MessageSessionHandlerAttribute.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/Message/MessageSessionHandlerAttribute.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 159 |
fileFormatVersion: 2
guid: d25ba9800f0a922459d8287d76d224d7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Share/Module/Numeric/INumericWatcher.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/Numeric/INumericWatcher.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 160 |
namespace ET
{
// 可以用来管理多个客户端场景,比如大世界会加载多块场景
[ComponentOf(typeof(Scene))]
public class CurrentScenesComponent: Entity, IAwake
{
private EntityRef<Scene> scene;
public Scene Scene
{
get
{
return this.scene;
}
set
... | ET/Unity/Assets/Scripts/Model/Share/Module/Scene/CurrentScenesComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/Scene/CurrentScenesComponent.cs",
"repo_id": "ET",
"token_count": 280
} | 161 |
fileFormatVersion: 2
guid: d17793ff0cb5ec241826760444df27b3
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Share/Plugins/Example.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Plugins/Example.meta",
"repo_id": "ET",
"token_count": 67
} | 162 |
fileFormatVersion: 2
guid: a3fce04321ac7b049aa1eb95d9d8cfe6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ModelView/Client/Demo/UI/UIHelp/UIHelpComponent.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/Demo/UI/UIHelp/UIHelpComponent.cs.meta",
"repo_id": "ET",
"token_count": 97
} | 163 |
fileFormatVersion: 2
guid: 4f4cf34e5e5ca4f779ba585cb3b0441d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ModelView/Client/LockStep/UI/UILSLobby/UILSLobbyComponent.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/LockStep/UI/UILSLobby/UILSLobbyComponent.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 164 |
using UnityEngine;
namespace ET.Client
{
public static class LayerNames
{
/// <summary>
/// UI层
/// </summary>
public const string UI = "UI";
/// <summary>
/// 游戏单位层
/// </summary>
public const string UNIT = "Unit";
/// <summary>
/// 地形层
/// </summary>
public const string MAP = "Map";
/... | ET/Unity/Assets/Scripts/ModelView/Client/Module/UI/LayerNames.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/Module/UI/LayerNames.cs",
"repo_id": "ET",
"token_count": 331
} | 165 |
namespace DotRecast.Core
{
public interface IRcRand
{
float Next();
}
} | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/IRcRand.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/IRcRand.cs",
"repo_id": "ET",
"token_count": 44
} | 166 |
using System.Threading;
namespace DotRecast.Core
{
public class RcAtomicLong
{
private long _location;
public RcAtomicLong() : this(0)
{
}
public RcAtomicLong(long location)
{
_location = location;
}
public long IncrementAndGet()
... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcAtomicLong.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcAtomicLong.cs",
"repo_id": "ET",
"token_count": 555
} | 167 |
using System;
using System.Collections.Generic;
namespace DotRecast.Core
{
public readonly partial struct RcImmutableArray<T> : IList<T>
{
public int Count => Length;
public bool IsReadOnly => true;
T IList<T>.this[int index]
{
get
{
var... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcImmutableArray.Listable.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcImmutableArray.Listable.cs",
"repo_id": "ET",
"token_count": 780
} | 168 |
using System;
namespace DotRecast.Core
{
public readonly struct RcTelemetryTick
{
public readonly string Key;
public readonly long Ticks;
public long Millis => Ticks / TimeSpan.TicksPerMillisecond;
public long Micros => Ticks / 10; // TimeSpan.TicksPerMicrosecond;
publ... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcTelemetryTick.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcTelemetryTick.cs",
"repo_id": "ET",
"token_count": 201
} | 169 |
fileFormatVersion: 2
guid: 076fc51ca6d09d14084b8f2d85ecaa65
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Crowd/DtCrowdAgentParams.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Crowd/DtCrowdAgentParams.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 170 |
/*
recast4j copyright (c) 2021 Piotr Piastucki piotr@jtilia.org
DotRecast Copyright (c) 2023 Choi Ikpil ikpil@naver.com
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted t... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Dynamic/DynamicNavMeshConfig.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Dynamic/DynamicNavMeshConfig.cs",
"repo_id": "ET",
"token_count": 801
} | 171 |
fileFormatVersion: 2
guid: 54d2fd379396a9544a3ca49054ed242e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/JumpLinkBuilder.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/JumpLinkBuilder.cs.meta",
"repo_id": "ET",
"token_count": 93
} | 172 |
using System.Collections.Generic;
namespace DotRecast.Detour.TileCache
{
public class DtTempContour
{
public List<int> verts;
public int nverts;
public List<int> poly;
public DtTempContour()
{
verts = new List<int>();
nverts = 0;
pol... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.TileCache/DtTempContour.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.TileCache/DtTempContour.cs",
"repo_id": "ET",
"token_count": 296
} | 173 |
fileFormatVersion: 2
guid: 78733f4864150c9459f45a098ac1b482
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtMeshHeader.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtMeshHeader.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 174 |
fileFormatVersion: 2
guid: 617ccd3ac956df942968e73a9d577c7e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtQueryData.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtQueryData.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 175 |
/*
Recast4J Copyright (c) 2015 Piotr Piastucki piotr@jtilia.org
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/Io/DtMeshDataReader.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/Io/DtMeshDataReader.cs",
"repo_id": "ET",
"token_count": 4817
} | 176 |
using System.Collections.Generic;
namespace DotRecast.Recast
{
public class ObjImporterContext
{
public List<float> vertexPositions = new List<float>();
public List<int> meshFaces = new List<int>();
}
} | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/ObjImporterContext.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/ObjImporterContext.cs",
"repo_id": "ET",
"token_count": 91
} | 177 |
/*
Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
recast4j copyright (c) 2015-2019 Piotr Piastucki piotr@jtilia.org
DotRecast Copyright (c) 2023 Choi Ikpil ikpil@naver.com
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
ar... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcContour.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcContour.cs",
"repo_id": "ET",
"token_count": 517
} | 178 |
using DotRecast.Core;
namespace DotRecast.Recast
{
/// Represents a heightfield layer within a layer set.
/// @see rcHeightfieldLayerSet
public class RcHeightfieldLayer
{
public RcVec3f bmin = new RcVec3f();
/// < The minimum bounds in world space. [(x, y, z)]
public RcVec3f b... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcHeightfieldLayer.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcHeightfieldLayer.cs",
"repo_id": "ET",
"token_count": 647
} | 179 |
namespace DotRecast.Recast
{
public class RcPotentialDiagonal
{
public int dist;
public int vert;
}
} | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcPotentialDiagonal.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcPotentialDiagonal.cs",
"repo_id": "ET",
"token_count": 61
} | 180 |
/*
Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
recast4j copyright (c) 2015-2019 Piotr Piastucki piotr@jtilia.org
DotRecast Copyright (c) 2023 Choi Ikpil ikpil@naver.com
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
ar... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RecastBuilderConfig.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RecastBuilderConfig.cs",
"repo_id": "ET",
"token_count": 1942
} | 181 |
/*
Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
recast4j copyright (c) 2015-2019 Piotr Piastucki piotr@jtilia.org
DotRecast Copyright (c) 2023 Choi Ikpil ikpil@naver.com
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
ar... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RecastMesh.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RecastMesh.cs",
"repo_id": "ET",
"token_count": 32748
} | 182 |
namespace ET
{
internal struct AckItem
{
internal uint serialNumber;
internal uint timestamp;
}
}
| ET/Unity/Assets/Scripts/ThirdParty/Kcp/AckItem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/Kcp/AckItem.cs",
"repo_id": "ET",
"token_count": 51
} | 183 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace NativeCollection
{
public unsafe class HashSet<T>: ICollection<T>, INativeCollectionClass where T : unmanaged, IEquatable<T>
{
private UnsafeType.HashSet<T>* _hashSet;
private const i... | ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/HashSet.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/HashSet.cs",
"repo_id": "ET",
"token_count": 972
} | 184 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace NativeCollection
{
public unsafe class SortedSet<T> : ICollection<T>, INativeCollectionClass where T : unmanaged, IEquatable<T>,IComparable<T>
{
private UnsafeType.SortedSet<T>* _sortedSet... | ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/SortedSet.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/SortedSet.cs",
"repo_id": "ET",
"token_count": 1105
} | 185 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace NativeCollection.UnsafeType
{
public unsafe struct Map<T,K> :IEnumerable<MapPair<T, K>>, IDisposable where T : unmanaged, IEquatable<T>, IComparable<T> wh... | ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/Map/Map.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/Map/Map.cs",
"repo_id": "ET",
"token_count": 1473
} | 186 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Text;
namespace NativeCollection.UnsafeType
{
public unsafe partial struct SortedSet<T> : ICollection<T>, IDisposable where T : unmanaged, I... | ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/SortedSet/SortedSet.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/SortedSet/SortedSet.cs",
"repo_id": "ET",
"token_count": 10475
} | 187 |
fileFormatVersion: 2
guid: 6e350d8bbf4dc4ebd9c40ab1fabe7735
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/TrueSync/Fix64TanLut.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/TrueSync/Fix64TanLut.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 188 |
fileFormatVersion: 2
guid: 873af7c334fcb4eb8b164e9bc4ae767d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/TrueSync/TSVector4.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/TrueSync/TSVector4.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 189 |
{
"name": "Ignore.Hotfix.Server",
"rootNamespace": "",
"references": [],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [
"IGNORE"
],
... | ET/Unity/Assets/Settings/IgnoreAsmdef/Hotfix/Server/Ignore.asmdef.DISABLED/0 | {
"file_path": "ET/Unity/Assets/Settings/IgnoreAsmdef/Hotfix/Server/Ignore.asmdef.DISABLED",
"repo_id": "ET",
"token_count": 159
} | 190 |
fileFormatVersion: 2
guid: b6233ec7cb381bc46b469eacc1add3f6
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Settings/IgnoreAsmdef/Model/Generate/ClientServer/Ignore.asmdef.DISABLED.meta/0 | {
"file_path": "ET/Unity/Assets/Settings/IgnoreAsmdef/Model/Generate/ClientServer/Ignore.asmdef.DISABLED.meta",
"repo_id": "ET",
"token_count": 64
} | 191 |
fileFormatVersion: 2
guid: 8a2f5b990568dc64583685ce952a3370
timeCreated: 1510222436
licenseType: Free
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/link.xml.meta/0 | {
"file_path": "ET/Unity/Assets/link.xml.meta",
"repo_id": "ET",
"token_count": 72
} | 192 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &1
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e189374413a3f00468e4... | ET/Unity/ProjectSettings/HybridCLRSettings.asset/0 | {
"file_path": "ET/Unity/ProjectSettings/HybridCLRSettings.asset",
"repo_id": "ET",
"token_count": 551
} | 193 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &1
MonoBehaviour:
m_ObjectHideFlags: 61
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a287be6c49135cd4f9b... | ET/Unity/ProjectSettings/TimelineSettings.asset/0 | {
"file_path": "ET/Unity/ProjectSettings/TimelineSettings.asset",
"repo_id": "ET",
"token_count": 194
} | 194 |
/*
Copyright (c) 2015 Ki
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublic... | ILSpy/ICSharpCode.BamlDecompiler/Baml/BamlReader.cs/0 | {
"file_path": "ILSpy/ICSharpCode.BamlDecompiler/Baml/BamlReader.cs",
"repo_id": "ILSpy",
"token_count": 3428
} | 195 |
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\ICSharpCode.Decompiler\ICSharpCode.Decompiler.snk</AssemblyOriginatorKeyFile>
<NeutralLanguage>en-US</NeutralLanguage>
<GenerateAs... | ILSpy/ICSharpCode.BamlDecompiler/ICSharpCode.BamlDecompiler.csproj/0 | {
"file_path": "ILSpy/ICSharpCode.BamlDecompiler/ICSharpCode.BamlDecompiler.csproj",
"repo_id": "ILSpy",
"token_count": 532
} | 196 |
/*
Copyright (c) 2015 Ki
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublic... | ILSpy/ICSharpCode.BamlDecompiler/XamlDecompiler.cs/0 | {
"file_path": "ILSpy/ICSharpCode.BamlDecompiler/XamlDecompiler.cs",
"repo_id": "ILSpy",
"token_count": 1462
} | 197 |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, mo... | ILSpy/ICSharpCode.Decompiler.Tests/CorrectnessTestRunner.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/CorrectnessTestRunner.cs",
"repo_id": "ILSpy",
"token_count": 6655
} | 198 |
// Copyright (c) 2016 Daniel Grunwald
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, modify, merge,
// publ... | ILSpy/ICSharpCode.Decompiler.Tests/RoundtripAssembly.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/RoundtripAssembly.cs",
"repo_id": "ILSpy",
"token_count": 4074
} | 199 |
using System;
namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness
{
class DynamicTests
{
delegate void RefAction<T>(ref T arg);
static void Main(string[] args)
{
PrintResult((ref dynamic x) => x = x + 2.0, 5.0);
PrintResult((ref dynamic x) => x = x + 2.0, 5);
PrintResult((ref dynamic x) => ... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/DynamicTests.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/DynamicTests.cs",
"repo_id": "ILSpy",
"token_count": 478
} | 200 |
.assembly extern mscorlib
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 )
.ver 4:0:0:0
}
.assembly StackTests
{
.hash algorithm 0x00008004
.ver 1:0:4059:39717
}
.module StackTests.exe
.imagebase 0x00400000
.file alignment 0x00000200
.stackreserve 0x00100000
.subsystem 0x0003 // WINDOWS_CUI
.corflags 0x000... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/StackTests.il/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/StackTests.il",
"repo_id": "ILSpy",
"token_count": 1147
} | 201 |
// C:\Users\Siegfried\Documents\Visual Studio 2017\Projects\ConsoleApp13\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
// ConsoleApplication1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// Global type: <Module>
// Entry point: Program.main
// Architecture: AnyCPU (32-bit preferred)
// Runtime: .NET 4... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/FSharpLoops_Debug.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/FSharpLoops_Debug.cs",
"repo_id": "ILSpy",
"token_count": 1601
} | 202 |
.class public auto ansi sealed EvType extends [mscorlib]System.MulticastDelegate
{
// Methods not included. Just the run of the mill ctor + {Begin|End}?Invoke
}
.class public auto ansi serializable beforefieldinit OwningClass
{
.field class EvType EvName
.event EvType EvName
{
.addon instance void OwningClass::a... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1145.il/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1145.il",
"repo_id": "ILSpy",
"token_count": 961
} | 203 |
using System;
namespace ICSharpCode.Decompiler.Tests.TestCases.ILPretty
{
internal class Issue1918
{
public static Guid[] NullVal;
public unsafe void ProblemFunction(Guid[] A_0, int A_1)
{
fixed (Guid* ptr = A_0)
{
void* ptr2 = ptr;
UIntPtr* ptr3 = (UIntPtr*)((byte*)ptr2 - sizeof(UIntPtr));
... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1918.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1918.cs",
"repo_id": "ILSpy",
"token_count": 264
} | 204 |
namespace ICSharpCode.Decompiler.Tests.TestCases.ILPretty
{
internal class Issue959
{
public void Test(bool arg)
{
if (!arg && arg)
{
}
}
}
}
| ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue959.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue959.cs",
"repo_id": "ILSpy",
"token_count": 78
} | 205 |
<?xml version="1.0" encoding="utf-8"?>
<symbols>
<files>
<file id="1" name="ICSharpCode.Decompiler.Tests.TestCases.PdbGen\ForLoopTests.cs" language="C#" checksumAlgorithm="SHA256"><![CDATA[using System;
namespace ICSharpCode.Decompiler.Tests.TestCases.PdbGen;
public class ForLoopTests
{
public static void Simp... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/PdbGen/ForLoopTests.xml/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/PdbGen/ForLoopTests.xml",
"repo_id": "ILSpy",
"token_count": 1345
} | 206 |
using System;
using System.Collections;
using System.Collections.Generic;
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
{
public class CS9_ExtensionGetEnumerator
{
public class NonGeneric
{
}
public class Generic<T>
{
}
public void Test(NonGeneric c)
{
foreach (object item in c)
{
... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS9_ExtensionGetEnumerator.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS9_ExtensionGetEnumerator.cs",
"repo_id": "ILSpy",
"token_count": 452
} | 207 |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, m... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/EnumTests.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/EnumTests.cs",
"repo_id": "ILSpy",
"token_count": 1104
} | 208 |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, m... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.cs",
"repo_id": "ILSpy",
"token_count": 8686
} | 209 |
// Copyright (c) 2019 Daniel Grunwald
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, modify, merge,
// publ... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/UserDefinedConversions.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/UserDefinedConversions.cs",
"repo_id": "ILSpy",
"token_count": 1291
} | 210 |
// Metadata version: v4.0.30319
.assembly extern mscorlib
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
.ver 4:0:0:0
}
.assembly NoExtensionMethods
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.ExtensionAttribute::.ctor() = ( 01 00 00 00 )
.custom in... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Ugly/NoExtensionMethods.roslyn.il/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Ugly/NoExtensionMethods.roslyn.il",
"repo_id": "ILSpy",
"token_count": 2226
} | 211 |
public class VBAutomaticEvents
{
public delegate void EventWithParameterEventHandler(int EventNumber);
public delegate void EventWithoutParameterEventHandler();
public event EventWithParameterEventHandler EventWithParameter;
public event EventWithoutParameterEventHandler EventWithoutParameter;
public void Raise... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/VBPretty/VBAutomaticEvents.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/VBPretty/VBAutomaticEvents.cs",
"repo_id": "ILSpy",
"token_count": 104
} | 212 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.