text stringlengths 7 35.3M | id stringlengths 11 185 | metadata dict | __index_level_0__ int64 0 2.14k |
|---|---|---|---|
fileFormatVersion: 2
guid: 1f28ab385e1ddf6448d270d4fb1e4727
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts.meta",
"repo_id": "ET",
"token_count": 70
} | 99 |
fileFormatVersion: 2
guid: 50901d1f8551c05499583f1a5d362d06
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Core/Analyzer/EntitySystemOf.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/Analyzer/EntitySystemOf.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 100 |
using System;
namespace ET
{
public struct EntityRef<T> where T: Entity
{
private readonly long instanceId;
private T entity;
private EntityRef(T t)
{
if (t == null)
{
this.instanceId = 0;
this.entity = null;
... | ET/Unity/Assets/Scripts/Core/Entity/EntityRef.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/Entity/EntityRef.cs",
"repo_id": "ET",
"token_count": 1585
} | 101 |
using System;
namespace ET
{
public interface ILateUpdate
{
}
public interface ILateUpdateSystem: ISystemType
{
void Run(Entity o);
}
[EntitySystem]
public abstract class LateUpdateSystem<T> : SystemObject, ILateUpdateSystem where T: Entity, ILateUpdate
{
void ILateUpdateSystem.Run(Entity o)
{
th... | ET/Unity/Assets/Scripts/Core/Entity/ILateUpdateSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/Entity/ILateUpdateSystem.cs",
"repo_id": "ET",
"token_count": 238
} | 102 |
using System.Diagnostics;
using MongoDB.Bson.Serialization.Attributes;
namespace ET
{
[EnableMethod]
[ChildOf]
public class Scene: Entity, IScene
{
[BsonIgnore]
public Fiber Fiber { get; set; }
public string Name { get; }
public SceneType SceneType
... | ET/Unity/Assets/Scripts/Core/Entity/Scene.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/Entity/Scene.cs",
"repo_id": "ET",
"token_count": 691
} | 103 |
fileFormatVersion: 2
guid: 43270a1ae7e8422458e49f6855475e8c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Core/Fiber/Module/Actor.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/Fiber/Module/Actor.meta",
"repo_id": "ET",
"token_count": 70
} | 104 |
using System.Collections.Generic;
namespace ET
{
[EntitySystemOf(typeof(CoroutineLockQueueType))]
[FriendOf(typeof(CoroutineLockQueueType))]
public static partial class CoroutineLockQueueTypeSystem
{
[EntitySystem]
private static void Awake(this CoroutineLockQueueType self)
{
... | ET/Unity/Assets/Scripts/Core/Fiber/Module/CoroutineLock/CoroutineLockQueueType.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/Fiber/Module/CoroutineLock/CoroutineLockQueueType.cs",
"repo_id": "ET",
"token_count": 729
} | 105 |
fileFormatVersion: 2
guid: c919506426bb2ee4bb9fc54ace00b98a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Core/HashSetComponent.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/HashSetComponent.cs.meta",
"repo_id": "ET",
"token_count": 93
} | 106 |
namespace ET
{
public static class ObjectHelper
{
public static void Swap<T>(ref T t1, ref T t2)
{
(t1, t2) = (t2, t1);
}
}
} | ET/Unity/Assets/Scripts/Core/Helper/ObjectHelper.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/Helper/ObjectHelper.cs",
"repo_id": "ET",
"token_count": 70
} | 107 |
fileFormatVersion: 2
guid: 653a223bbff127d49baf78f578fd1e80
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Core/Method.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/Method.meta",
"repo_id": "ET",
"token_count": 68
} | 108 |
using System;
using System.Collections.Generic;
using System.IO;
namespace ET
{
public class CircularBuffer: Stream
{
public int ChunkSize = 8192;
private readonly Queue<byte[]> bufferQueue = new Queue<byte[]>();
private readonly Queue<byte[]> bufferCache = new Queue<byte[]>();
... | ET/Unity/Assets/Scripts/Core/Network/Circularbuffer.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/Network/Circularbuffer.cs",
"repo_id": "ET",
"token_count": 4010
} | 109 |
namespace ET
{
public class MessageAttribute: BaseAttribute
{
public ushort Opcode
{
get;
}
public MessageAttribute(ushort opcode = 0)
{
this.Opcode = opcode;
}
}
} | ET/Unity/Assets/Scripts/Core/Network/MessageAttribute.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/Network/MessageAttribute.cs",
"repo_id": "ET",
"token_count": 134
} | 110 |
using System;
namespace ET
{
/// <summary>
/// RPC异常,带ErrorCode
/// </summary>
public class RpcException: Exception
{
public int Error
{
get;
}
public RpcException(int error, string message): base(message)
{
this.Error = error;
... | ET/Unity/Assets/Scripts/Core/Network/RpcException.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/Network/RpcException.cs",
"repo_id": "ET",
"token_count": 232
} | 111 |
fileFormatVersion: 2
guid: 9a2882ec78c6c471e8e74005e51f985f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Core/Object/MessageObject.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/Object/MessageObject.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 112 |
using System;
using System.Collections.Concurrent;
using System.Threading;
namespace ET
{
public class ThreadSynchronizationContext : SynchronizationContext
{
// 线程同步队列,发送接收socket回调都放到该队列,由poll线程统一执行
private readonly ConcurrentQueue<Action> queue = new();
private Action a;
pu... | ET/Unity/Assets/Scripts/Core/ThreadSynchronizationContext.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/ThreadSynchronizationContext.cs",
"repo_id": "ET",
"token_count": 594
} | 113 |
fileFormatVersion: 2
guid: 395a79eb78315e84e92fde7209c84fda
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Core/World/Module/Actor.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/World/Module/Actor.meta",
"repo_id": "ET",
"token_count": 68
} | 114 |
fileFormatVersion: 2
guid: fdea67585847303418ec523256daa007
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Core/World/Module/Config.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/World/Module/Config.meta",
"repo_id": "ET",
"token_count": 66
} | 115 |
using System;
namespace ET
{
public interface IEvent
{
Type Type { get; }
}
public abstract class AEvent<S, A>: IEvent where S: class, IScene where A: struct
{
public Type Type
{
get
{
return typeof (A);
}
}
protected abstract ETTask Run(S scene, A a);
public async ETTask Handle(S sc... | ET/Unity/Assets/Scripts/Core/World/Module/EventSystem/IEvent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/World/Module/EventSystem/IEvent.cs",
"repo_id": "ET",
"token_count": 206
} | 116 |
fileFormatVersion: 2
guid: bfdee72346bcdc149b84d5348ba2e350
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Core/World/Module/Log/NLogger.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Core/World/Module/Log/NLogger.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 117 |
using System.IO;
using UnityEditor;
using UnityEngine;
namespace ET
{
public static class AssemblyEditor
{
[InitializeOnLoadMethod]
static void Initialize()
{
EditorApplication.playModeStateChanged += change =>
{
switch (change)
{
... | ET/Unity/Assets/Scripts/Editor/Assembly/AssemblyEditor.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Editor/Assembly/AssemblyEditor.cs",
"repo_id": "ET",
"token_count": 2328
} | 118 |
using System;
using UnityEditor;
namespace ET
{
[TypeDrawer]
public class DoubleTypeDrawer: ITypeDrawer
{
public bool HandlesType(Type type)
{
return type == typeof (double);
}
public object DrawAndGetNewValue(Type memberType, string memberName, object value, ob... | ET/Unity/Assets/Scripts/Editor/ComponentViewEditor/TypeDrawer/DoubleTypeDrawer.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Editor/ComponentViewEditor/TypeDrawer/DoubleTypeDrawer.cs",
"repo_id": "ET",
"token_count": 184
} | 119 |
using System;
using UnityEditor;
namespace ET
{
[TypeDrawer]
public class IntTypeDrawer: ITypeDrawer
{
[TypeDrawer]
public bool HandlesType(Type type)
{
return type == typeof (int);
}
public object DrawAndGetNewValue(Type memberType, string memberName, o... | ET/Unity/Assets/Scripts/Editor/ComponentViewEditor/TypeDrawer/IntTypeDrawer.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Editor/ComponentViewEditor/TypeDrawer/IntTypeDrawer.cs",
"repo_id": "ET",
"token_count": 197
} | 120 |
using System;
using UnityEditor;
using UnityEngine;
namespace ET
{
[TypeDrawer]
public class Vector4TypeDrawer: ITypeDrawer
{
public bool HandlesType(Type type)
{
return type == typeof (Vector4);
}
public object DrawAndGetNewValue(Type memberType, string memberN... | ET/Unity/Assets/Scripts/Editor/ComponentViewEditor/TypeDrawer/Vector4TypeDrawer.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Editor/ComponentViewEditor/TypeDrawer/Vector4TypeDrawer.cs",
"repo_id": "ET",
"token_count": 193
} | 121 |
fileFormatVersion: 2
guid: 3be1c35d4fd53dd479a81cadf627f263
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Editor/LogRedirection.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Editor/LogRedirection.meta",
"repo_id": "ET",
"token_count": 69
} | 122 |
using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
//Object并非C#基础中的Object,而是 UnityEngine.Object
using Object = UnityEngine.Object;
//自定义ReferenceCollector类在界面中的显示与功能
[CustomEditor(typeof (ReferenceCollector))]
public class ReferenceCollectorEditor: Editor
{
//输入在textfield中的字符串
... | ET/Unity/Assets/Scripts/Editor/ReferenceCollectorEditor/ReferenceCollectorEditor.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Editor/ReferenceCollectorEditor/ReferenceCollectorEditor.cs",
"repo_id": "ET",
"token_count": 2375
} | 123 |
using Unity.Mathematics;
namespace ET.Client
{
public class AI_XunLuo: AAIHandler
{
public override int Check(AIComponent aiComponent, AIConfig aiConfig)
{
long sec = TimeInfo.Instance.ClientNow() / 1000 % 15;
if (sec < 10)
{
return 0;
... | ET/Unity/Assets/Scripts/Hotfix/Client/Demo/AI/AI_XunLuo.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Client/Demo/AI/AI_XunLuo.cs",
"repo_id": "ET",
"token_count": 662
} | 124 |
fileFormatVersion: 2
guid: 9517a733443387b49a227cfb10aa82d6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Client/Demo/Main/Move/MoveHelper.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Client/Demo/Main/Move/MoveHelper.cs.meta",
"repo_id": "ET",
"token_count": 93
} | 125 |
fileFormatVersion: 2
guid: 6c4d413c1206d8844b7f6ccc95dd2ce6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Client/Demo/Main/Unit/M2C_RemoveUnitsHandler.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Client/Demo/Main/Unit/M2C_RemoveUnitsHandler.cs.meta",
"repo_id": "ET",
"token_count": 97
} | 126 |
fileFormatVersion: 2
guid: 657f5f7736369e24786203c1c377ec14
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Client/Demo/NetClient/Ping.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Client/Demo/NetClient/Ping.meta",
"repo_id": "ET",
"token_count": 68
} | 127 |
fileFormatVersion: 2
guid: 38ab027e1bcebae4992db7e8e2552667
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Demo/EntryEvent2_InitServer.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/EntryEvent2_InitServer.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 128 |
using System;
namespace ET.Server
{
[Invoke((long)SceneType.Gate)]
public class NetComponentOnReadInvoker_Gate: AInvokeHandler<NetComponentOnRead>
{
public override void Handle(NetComponentOnRead args)
{
HandleAsync(args).Coroutine();
}
private async ETTask Han... | ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Gate/NetComponentOnReadInvoker_Gate.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Gate/NetComponentOnReadInvoker_Gate.cs",
"repo_id": "ET",
"token_count": 1954
} | 129 |
using System;
namespace ET.Server
{
[MessageLocationHandler(SceneType.Map)]
public class C2M_TestRobotCaseHandler : MessageLocationHandler<Unit, C2M_TestRobotCase, M2C_TestRobotCase>
{
protected override async ETTask Run(Unit unit, C2M_TestRobotCase request, M2C_TestRobotCase response)
{
response.N = reques... | ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Map/C2M_TestRobotCaseHandler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Map/C2M_TestRobotCaseHandler.cs",
"repo_id": "ET",
"token_count": 138
} | 130 |
using System;
using Unity.Mathematics;
namespace ET.Server
{
[MessageHandler(SceneType.Map)]
public class M2M_UnitTransferRequestHandler: MessageHandler<Scene, M2M_UnitTransferRequest, M2M_UnitTransferResponse>
{
protected override async ETTask Run(Scene scene, M2M_UnitTransferRequest request, M2M... | ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Map/Transfer/M2M_UnitTransferRequestHandler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Map/Transfer/M2M_UnitTransferRequestHandler.cs",
"repo_id": "ET",
"token_count": 878
} | 131 |
using System.Net;
namespace ET.Server
{
[Invoke((long)SceneType.Realm)]
public class FiberInit_Realm: AInvokeHandler<FiberInit, ETTask>
{
public override async ETTask Handle(FiberInit fiberInit)
{
Scene root = fiberInit.Fiber.Root;
root.AddComponent<MailBoxComponent... | ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Realm/FiberInit_Realm.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Realm/FiberInit_Realm.cs",
"repo_id": "ET",
"token_count": 353
} | 132 |
fileFormatVersion: 2
guid: ea87d2f8e44c2ad40b21b8104d9176de
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Robot/RobotManagerComponentSystem.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Robot/RobotManagerComponentSystem.cs.meta",
"repo_id": "ET",
"token_count": 97
} | 133 |
fileFormatVersion: 2
guid: a86d2aec3f36c405fa581cf362886820
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/LockStep/Map.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/LockStep/Map.meta",
"repo_id": "ET",
"token_count": 68
} | 134 |
using System;
namespace ET.Server
{
[MessageHandler(SceneType.Match)]
public class G2Match_MatchHandler : MessageHandler<Scene, G2Match_Match, Match2G_Match>
{
protected override async ETTask Run(Scene scene, G2Match_Match request, Match2G_Match response)
{
MatchComponent matchComponent = scene.GetComponen... | ET/Unity/Assets/Scripts/Hotfix/Server/LockStep/Match/G2Match_MatchHandler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/LockStep/Match/G2Match_MatchHandler.cs",
"repo_id": "ET",
"token_count": 143
} | 135 |
fileFormatVersion: 2
guid: 663974eab9143cd4aa7740221e48e4f2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Module/AOI.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/AOI.meta",
"repo_id": "ET",
"token_count": 69
} | 136 |
using System;
namespace ET.Server
{
public static partial class LocationProxyComponentSystem
{
private static ActorId GetLocationSceneId(long key)
{
return StartSceneConfigCategory.Instance.LocationConfig.ActorId;
}
public static async ETTask Add(this LocationProxy... | ET/Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/LocationProxyComponentSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/LocationProxyComponentSystem.cs",
"repo_id": "ET",
"token_count": 1567
} | 137 |
using System;
namespace ET.Server
{
[MessageHandler(SceneType.Location)]
public class ObjectUnLockRequestHandler: MessageHandler<Scene, ObjectUnLockRequest, ObjectUnLockResponse>
{
protected override async ETTask Run(Scene scene, ObjectUnLockRequest request, ObjectUnLockResponse response)
... | ET/Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/ObjectUnLockRequestHandler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/ObjectUnLockRequestHandler.cs",
"repo_id": "ET",
"token_count": 183
} | 138 |
fileFormatVersion: 2
guid: eabf7791ed07a864b814f3f85914930c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Module/Message/MessageSenderSystem.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/Message/MessageSenderSystem.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 139 |
using System;
using System.Net;
using System.Net.Sockets;
using System.Runtime.InteropServices;
namespace ET.Server
{
[EntitySystemOf(typeof(RouterComponent))]
[FriendOf(typeof (RouterComponent))]
[FriendOf(typeof (RouterNode))]
public static partial class RouterComponentSystem
{
[EntitySy... | ET/Unity/Assets/Scripts/Hotfix/Server/Module/Router/RouterComponentSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/Router/RouterComponentSystem.cs",
"repo_id": "ET",
"token_count": 16293
} | 140 |
fileFormatVersion: 2
guid: 9ac96337bfa5b4a7c8385ab25b8d36af
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Share/LockStep.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/LockStep.meta",
"repo_id": "ET",
"token_count": 71
} | 141 |
using System;
namespace ET
{
public abstract class MessageHandler<E, Message>: HandlerObject, IMHandler where E : Entity where Message : class, IMessage
{
protected abstract ETTask Run(E entity, Message message);
public async ETTask Handle(Entity entity, Address fromAddress, MessageObject act... | ET/Unity/Assets/Scripts/Hotfix/Share/Module/Actor/MessageHandler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/Module/Actor/MessageHandler.cs",
"repo_id": "ET",
"token_count": 1836
} | 142 |
fileFormatVersion: 2
guid: 069fa286008182847950a814f31931e3
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Share/Module/Move.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/Module/Move.meta",
"repo_id": "ET",
"token_count": 68
} | 143 |
fileFormatVersion: 2
guid: 47e7fc164e924ff44845e0ffc715841c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/HotfixView/Client/Demo/UI/UILobby.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/Demo/UI/UILobby.meta",
"repo_id": "ET",
"token_count": 69
} | 144 |
fileFormatVersion: 2
guid: 625bee0f0ae290a45bd36d5e3fe4e222
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/HotfixView/Client/Demo/Unit.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/Demo/Unit.meta",
"repo_id": "ET",
"token_count": 69
} | 145 |
namespace ET.Client
{
[Event(SceneType.LockStep)]
public class LoginFinish_CreateUILSLobby: AEvent<Scene, LoginFinish>
{
protected override async ETTask Run(Scene scene, LoginFinish args)
{
await UIHelper.Create(scene, UIType.UILSLobby, UILayer.Mid);
}
}
}
| ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSLobby/LoginFinish_CreateUILSLobby.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSLobby/LoginFinish_CreateUILSLobby.cs",
"repo_id": "ET",
"token_count": 104
} | 146 |
using System;
using UnityEngine;
using UnityEngine.UI;
namespace ET.Client
{
[EntitySystemOf(typeof(UILSRoomComponent))]
[FriendOf(typeof (UILSRoomComponent))]
public static partial class UILSRoomComponentSystem
{
[EntitySystem]
private static void Awake(this UILSRoomComponent self)
... | ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSRoom/UILSRoomComponentSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSRoom/UILSRoomComponentSystem.cs",
"repo_id": "ET",
"token_count": 1578
} | 147 |
fileFormatVersion: 2
guid: 7dc6e02500db83a47adc9d6105d36be1
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/HotfixView/Client/Plugins.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/Plugins.meta",
"repo_id": "ET",
"token_count": 70
} | 148 |
fileFormatVersion: 2
guid: 02e2918d6ce48b743b1ba9ac7894a023
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Loader/Define.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Loader/Define.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 149 |
fileFormatVersion: 2
guid: 36527db572638af47b03c805671cba75
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Loader/MonoBehaviour/GlobalConfig.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Loader/MonoBehaviour/GlobalConfig.cs.meta",
"repo_id": "ET",
"token_count": 91
} | 150 |
fileFormatVersion: 2
guid: e6d1622fb1ba04799bf3c11259c90778
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Loader/Plugins/HybridCLR/Generated/link.xml.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Loader/Plugins/HybridCLR/Generated/link.xml.meta",
"repo_id": "ET",
"token_count": 65
} | 151 |
namespace ET.Client
{
public struct Wait_SceneChangeFinish: IWaitType
{
public int Error
{
get;
set;
}
}
} | ET/Unity/Assets/Scripts/Model/Client/Demo/Main/Scene/Wait_SceneChangeFinish.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Client/Demo/Main/Scene/Wait_SceneChangeFinish.cs",
"repo_id": "ET",
"token_count": 94
} | 152 |
namespace ET.Client
{
[ChildOf(typeof(NetComponent))]
public class RouterConnector: Entity, IAwake, IDestroy
{
public byte Flag { get; set; }
}
} | ET/Unity/Assets/Scripts/Model/Client/Demo/NetClient/Router/RouterConnector.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Client/Demo/NetClient/Router/RouterConnector.cs",
"repo_id": "ET",
"token_count": 72
} | 153 |
namespace ET.Client
{
[ComponentOf(typeof(Session))]
public class ClientSessionErrorComponent: Entity, IAwake, IDestroy
{
}
} | ET/Unity/Assets/Scripts/Model/Client/Module/Message/ClientSessionErrorComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Client/Module/Message/ClientSessionErrorComponent.cs",
"repo_id": "ET",
"token_count": 56
} | 154 |
using MemoryPack;
using System.Collections.Generic;
namespace ET
{
[MemoryPackable]
[Message(LockStepOuter.C2G_Match)]
[ResponseType(nameof(G2C_Match))]
public partial class C2G_Match : MessageObject, ISessionRequest
{
public static C2G_Match Create(bool isFromPool = false)
{
... | ET/Unity/Assets/Scripts/Model/Generate/ClientServer/Message/LockStepOuter_C_11001.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Generate/ClientServer/Message/LockStepOuter_C_11001.cs",
"repo_id": "ET",
"token_count": 5013
} | 155 |
using CommandLine;
namespace ET.Server
{
public class CreateRobotArgs: Object
{
[Option("Num", Required = false, Default = 1)]
public int Num { get; set; }
}
} | ET/Unity/Assets/Scripts/Model/Server/Demo/Robot/Console/CreateRobotArgs.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Demo/Robot/Console/CreateRobotArgs.cs",
"repo_id": "ET",
"token_count": 75
} | 156 |
namespace ET.Server
{
[ChildOf(typeof (RoomServerComponent))]
public class RoomPlayer: Entity, IAwake
{
public int Progress { get; set; }
public bool IsOnline { get; set; } = true;
}
} | ET/Unity/Assets/Scripts/Model/Server/LockStep/Map/RoomPlayer.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/LockStep/Map/RoomPlayer.cs",
"repo_id": "ET",
"token_count": 87
} | 157 |
namespace ET.Server
{
[ComponentOf(typeof(Scene))]
public class AOIManagerComponent: Entity, IAwake
{
public const int CellSize = 10 * 1000;
}
} | ET/Unity/Assets/Scripts/Model/Server/Module/AOI/AOIManagerComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Module/AOI/AOIManagerComponent.cs",
"repo_id": "ET",
"token_count": 72
} | 158 |
using System;
namespace ET.Server
{
[ComponentOf(typeof(Scene))]
public class DBManagerComponent: Entity, IAwake
{
public DBComponent[] DBComponents = new DBComponent[IdGenerater.MaxZone];
}
} | ET/Unity/Assets/Scripts/Model/Server/Module/DB/DBManagerComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Module/DB/DBManagerComponent.cs",
"repo_id": "ET",
"token_count": 88
} | 159 |
using System.Collections.Generic;
using System.Net;
namespace ET.Server
{
[ComponentOf(typeof(Scene))]
public class ProcessOuterSender: Entity, IAwake<IPEndPoint>, IUpdate, IDestroy
{
public const long TIMEOUT_TIME = 40 * 1000;
public int RpcId;
public readonly Dictionary... | ET/Unity/Assets/Scripts/Model/Server/Module/Message/ProcessOuterSender.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Module/Message/ProcessOuterSender.cs",
"repo_id": "ET",
"token_count": 205
} | 160 |
namespace ET
{
public class FixedTimeCounter: Object
{
private long startTime;
private int startFrame;
public int Interval { get; private set; }
public FixedTimeCounter(long startTime, int startFrame, int interval)
{
this.startTime = startTime;
th... | ET/Unity/Assets/Scripts/Model/Share/LockStep/FixedTimeCounter.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/LockStep/FixedTimeCounter.cs",
"repo_id": "ET",
"token_count": 439
} | 161 |
using System;
using System.Collections.Generic;
namespace ET
{
[UniqueId(-1, 1)]
public static class LSQueneUpdateIndex
{
public const int None = -1;
public const int LSUpdate = 0;
public const int Max = 1;
}
[Code]
public class LSEntitySystemSingleton: Singleton<LS... | ET/Unity/Assets/Scripts/Model/Share/LockStep/LSEntitySystemSingleton.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/LockStep/LSEntitySystemSingleton.cs",
"repo_id": "ET",
"token_count": 2273
} | 162 |
using System.Collections.Generic;
using MemoryPack;
namespace ET
{
[MemoryPackable]
public partial class Replay: Object
{
[MemoryPackOrder(1)]
public List<LockStepUnitInfo> UnitInfos;
[MemoryPackOrder(2)]
public List<OneFrameInputs> FrameInputs = new();
... | ET/Unity/Assets/Scripts/Model/Share/LockStep/Replay.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/LockStep/Replay.cs",
"repo_id": "ET",
"token_count": 175
} | 163 |
fileFormatVersion: 2
guid: 22534ff56546c094d904521502f2103f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Share/Module/Console/ConsoleComponent.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/Console/ConsoleComponent.cs.meta",
"repo_id": "ET",
"token_count": 92
} | 164 |
using System.Collections.Generic;
namespace ET
{
public class LogMsg: Singleton<LogMsg>, ISingletonAwake
{
private readonly HashSet<ushort> ignore = new()
{
OuterMessage.C2G_Ping,
OuterMessage.G2C_Ping,
OuterMessage.C2G_Benchmark,
OuterMessage... | ET/Unity/Assets/Scripts/Model/Share/Module/Message/LogMsg.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/Message/LogMsg.cs",
"repo_id": "ET",
"token_count": 370
} | 165 |
fileFormatVersion: 2
guid: 26fd94c36353aad4591969119ce93bb4
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Share/Module/Move.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/Move.meta",
"repo_id": "ET",
"token_count": 65
} | 166 |
fileFormatVersion: 2
guid: 972155bb07920b648bbeecab259ed50b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Share/Module/ObjectWait.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/ObjectWait.meta",
"repo_id": "ET",
"token_count": 66
} | 167 |
using Unity.Mathematics;
namespace ET
{
public struct ChangePosition
{
public Unit Unit;
public float3 OldPos;
}
public struct ChangeRotation
{
public Unit Unit;
}
} | ET/Unity/Assets/Scripts/Model/Share/Module/Unit/UnitEventType.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/Unit/UnitEventType.cs",
"repo_id": "ET",
"token_count": 94
} | 168 |
fileFormatVersion: 2
guid: e995cd03c9bc1f14b8b4a18641af2121
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ModelView/Client/Demo.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/Demo.meta",
"repo_id": "ET",
"token_count": 70
} | 169 |
fileFormatVersion: 2
guid: a2978aee6ea76e041b629850500540e3
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ModelView/Client/Demo/UI/UILogin/UILoginComponent.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/Demo/UI/UILogin/UILoginComponent.cs.meta",
"repo_id": "ET",
"token_count": 92
} | 170 |
using UnityEngine;
namespace ET
{
[ChildOf(typeof(LSUnitViewComponent))]
public class LSUnitView: Entity, IAwake<GameObject>, IUpdate, ILSRollback
{
public GameObject GameObject { get; set; }
public Transform Transform { get; set; }
public EntityRef<LSUnit> Unit;
public Vect... | ET/Unity/Assets/Scripts/ModelView/Client/LockStep/LSUnitView.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/LockStep/LSUnitView.cs",
"repo_id": "ET",
"token_count": 172
} | 171 |
fileFormatVersion: 2
guid: ffdd1cc7fd912e644aa1f2a2721b303a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ModelView/Client/Module.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/Module.meta",
"repo_id": "ET",
"token_count": 70
} | 172 |
fileFormatVersion: 2
guid: a7f1c0a5d19958641a51189a19e3a90a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/Compression.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/Compression.meta",
"repo_id": "ET",
"token_count": 72
} | 173 |
fileFormatVersion: 2
guid: f2e1c415f6411874394e1a7e10615580
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcArrayUtils.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcArrayUtils.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 174 |
fileFormatVersion: 2
guid: d5f2be45ab4f5ca4899942591a76ef57
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcMatrix4X4.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcMatrix4X4.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 175 |
/*
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/Detour.Crowd/DtCrowd.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Crowd/DtCrowd.cs",
"repo_id": "ET",
"token_count": 29301
} | 176 |
namespace DotRecast.Detour.Crowd
{
public class DtCrowdTimerLabel
{
public static readonly DtCrowdTimerLabel CheckPathValidity = new DtCrowdTimerLabel(nameof(CheckPathValidity));
public static readonly DtCrowdTimerLabel UpdateMoveRequest = new DtCrowdTimerLabel(nameof(UpdateMoveRequest));
... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Crowd/DtCrowdTimerLabel.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Crowd/DtCrowdTimerLabel.cs",
"repo_id": "ET",
"token_count": 650
} | 177 |
/*
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/Io/ByteUtils.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Dynamic/Io/ByteUtils.cs",
"repo_id": "ET",
"token_count": 1557
} | 178 |
fileFormatVersion: 2
guid: 63a0b74c08dba82489dc938f57aa3129
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/BVTreeBuilder.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/BVTreeBuilder.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 179 |
using DotRecast.Recast;
namespace DotRecast.Detour.Extras.Jumplink
{
public interface IGroundSampler
{
void Sample(JumpLinkBuilderConfig acfg, RecastBuilderResult result, EdgeSampler es);
}
} | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/IGroundSampler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/IGroundSampler.cs",
"repo_id": "ET",
"token_count": 79
} | 180 |
using System;
using DotRecast.Core;
namespace DotRecast.Detour.Extras.Jumplink
{
public class JumpTrajectory : Trajectory
{
private readonly float jumpHeight;
public JumpTrajectory(float jumpHeight)
{
this.jumpHeight = jumpHeight;
}
public override RcVec3f ... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/JumpTrajectory.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/JumpTrajectory.cs",
"repo_id": "ET",
"token_count": 948
} | 181 |
fileFormatVersion: 2
guid: 08c1d87f203838441a485e23de767c14
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.TileCache/DtCompressedTile.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.TileCache/DtCompressedTile.cs.meta",
"repo_id": "ET",
"token_count": 93
} | 182 |
fileFormatVersion: 2
guid: 811f303a5087f704d981285221ff6e5d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.TileCache/Io/DtTileCacheReader.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.TileCache/Io/DtTileCacheReader.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 183 |
using System.Collections.Generic;
namespace DotRecast.Detour
{
public class BVItemYComparer : IComparer<BVItem>
{
public static readonly BVItemYComparer Shared = new BVItemYComparer();
private BVItemYComparer()
{
}
public int Compare(BVItem a, BVItem b)
{
... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/BVItemYComparer.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/BVItemYComparer.cs",
"repo_id": "ET",
"token_count": 188
} | 184 |
namespace DotRecast.Detour
{
public readonly struct DtFindPathOption
{
public static readonly DtFindPathOption NoOption = new DtFindPathOption(DefaultQueryHeuristic.Default, 0, 0);
public static readonly DtFindPathOption AnyAngle = new DtFindPathOption(DefaultQueryHeuristic.Default, DtNavMeshQ... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtFindPathOption.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtFindPathOption.cs",
"repo_id": "ET",
"token_count": 400
} | 185 |
/*
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/Detour/DtNavMeshParams.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtNavMeshParams.cs",
"repo_id": "ET",
"token_count": 527
} | 186 |
/*
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/Detour/DtPoly.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtPoly.cs",
"repo_id": "ET",
"token_count": 1091
} | 187 |
namespace DotRecast.Detour
{
public readonly struct DtSegInterval
{
public readonly long refs;
public readonly int tmin;
public readonly int tmax;
public DtSegInterval(long refs, int tmin, int tmax)
{
this.refs = refs;
this.tmin = tmin;
... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtSegInterval.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtSegInterval.cs",
"repo_id": "ET",
"token_count": 188
} | 188 |
fileFormatVersion: 2
guid: b0a01b7388685794689768195bc8edaf
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/Geom.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/Geom.meta",
"repo_id": "ET",
"token_count": 68
} | 189 |
fileFormatVersion: 2
guid: b23cdc04270a5e045bb0f4f4c198e384
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcContourSet.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcContourSet.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 190 |
fileFormatVersion: 2
guid: 92d78e46578e77640ac67b6e2fe00cd3
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcPartitionType.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcPartitionType.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 191 |
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace ET
{
[AsyncMethodBuilder(typeof (AsyncETVoidMethodBuilder))]
internal struct ETVoid: ICriticalNotifyCompletion
{
[DebuggerHidden]
public void Coroutine()
{
}
[DebuggerHidden]
... | ET/Unity/Assets/Scripts/ThirdParty/ETTask/ETVoid.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/ETTask/ETVoid.cs",
"repo_id": "ET",
"token_count": 247
} | 192 |
fileFormatVersion: 2
guid: 065051fee12dc95449d2eb1dd337adbe
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/Kcp/Utils.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/Kcp/Utils.cs.meta",
"repo_id": "ET",
"token_count": 91
} | 193 |
using System;
namespace NativeCollection.UnsafeType
{
public static class HashHelpers
{
public const uint HashCollisionThreshold = 100;
// This is the maximum prime smaller than Array.MaxLength.
public const int MaxPrimeArrayLength = 0x7FFFFFC3;
public const int HashPrime = 101;
private ... | ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/HashHelpers.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/HashHelpers.cs",
"repo_id": "ET",
"token_count": 1552
} | 194 |
using System;
using System.Runtime.CompilerServices;
namespace NativeCollection.UnsafeType
{
public interface IPool : IDisposable
{
public void OnReturnToPool();
public void OnGetFromPool();
}
public unsafe struct NativeStackPool<T> : IDisposable where T: unmanaged,IPool
{
... | ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/NativeStackPool.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/NativeStackPool.cs",
"repo_id": "ET",
"token_count": 1133
} | 195 |
using System;
using System.IO;
namespace TrueSync {
/// <summary>
/// Represents a Q31.32 fixed-point number.
/// </summary>
[Serializable]
public partial struct FP : IEquatable<FP>, IComparable<FP> {
public long _serializedValue;
public const long MAX_VALUE = long.MaxValue;
public ... | ET/Unity/Assets/Scripts/ThirdParty/TrueSync/Fix64.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/TrueSync/Fix64.cs",
"repo_id": "ET",
"token_count": 18144
} | 196 |
using System;
using MemoryPack;
using MongoDB.Bson.Serialization.Attributes;
namespace TrueSync {
/**
* @brief Generates random numbers based on a deterministic approach.
**/
[MemoryPackable]
public partial class TSRandom {
// From http://www.codeproject.com/Articles/164087/Random-Numb... | ET/Unity/Assets/Scripts/ThirdParty/TrueSync/TSRandom.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/TrueSync/TSRandom.cs",
"repo_id": "ET",
"token_count": 4622
} | 197 |
fileFormatVersion: 2
guid: d5d69583e5ecc46459ee4a0159b8b969
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Settings/AssetBundleCollectorSetting.asset.meta/0 | {
"file_path": "ET/Unity/Assets/Settings/AssetBundleCollectorSetting.asset.meta",
"repo_id": "ET",
"token_count": 76
} | 198 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.