Fantasy
搜索结果

    显示/隐藏目录

    AddressableManageComponent 类

    继承
    object
    Entity
    AddressableManageComponent
    实现
    IEntity
    IDisposable
    IPool
    继承成员
    Entity.Id
    Entity.RunTimeId
    Entity.IsDisposed
    Entity.Scene
    Entity.Parent
    Entity.Type
    Entity.GetParent<T>()
    Entity.Create<T>(Scene, bool, bool)
    Entity.Create<T>(Scene, long, bool, bool)
    Entity.AddComponent<T>(bool)
    Entity.AddComponent<T>(long, bool)
    Entity.AddComponent(Entity)
    Entity.AddComponent<T>(T)
    Entity.GetComponent<T>()
    Entity.GetComponent(Type)
    Entity.GetComponent<T>(long)
    Entity.GetOrAddComponent<T>(bool)
    Entity.RemoveComponent<T>(bool)
    Entity.RemoveComponent<T>(long, bool)
    Entity.RemoveComponent(Entity, bool)
    Entity.RemoveComponent<T>(T, bool)
    Entity.Deserialize(Scene, bool)
    Entity.ForEachSingleCollection
    Entity.ForEachTransfer
    Entity.ForEachMultiEntity
    Entity.ForEachEntity
    Entity.Dispose()
    Entity.IsPool()
    Entity.SetIsPool(bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    命名空间: Fantasy.Network.Route
    程序集: Fantasy.Net.dll
    语法
    public sealed class AddressableManageComponent : Entity, IEntity, IDisposable, IPool

    字段

    | 编辑本文 查看源代码

    Addressable

    声明
    public readonly Dictionary<long, long> Addressable
    字段值
    类型 描述
    Dictionary<long, long>
    | 编辑本文 查看源代码

    AddressableLock

    声明
    public CoroutineLock AddressableLock
    字段值
    类型 描述
    CoroutineLock
    | 编辑本文 查看源代码

    Locks

    声明
    public readonly Dictionary<long, WaitCoroutineLock> Locks
    字段值
    类型 描述
    Dictionary<long, WaitCoroutineLock>

    方法

    | 编辑本文 查看源代码

    Add(long, long, bool)

    添加地址映射。

    声明
    public FTask Add(long addressableId, long routeId, bool isLock)
    参数
    类型 名称 描述
    long addressableId

    地址映射的唯一标识。

    long routeId

    路由 ID。

    bool isLock

    是否进行锁定。

    返回
    类型 描述
    FTask
    | 编辑本文 查看源代码

    Get(long)

    获取地址映射的路由 ID。

    声明
    public FTask<long> Get(long addressableId)
    参数
    类型 名称 描述
    long addressableId

    地址映射的唯一标识。

    返回
    类型 描述
    FTask<long>

    地址映射的路由 ID。

    | 编辑本文 查看源代码

    Lock(long)

    锁定地址映射。

    声明
    public FTask Lock(long addressableId)
    参数
    类型 名称 描述
    long addressableId

    地址映射的唯一标识。

    返回
    类型 描述
    FTask
    | 编辑本文 查看源代码

    Remove(long)

    移除地址映射。

    声明
    public FTask Remove(long addressableId)
    参数
    类型 名称 描述
    long addressableId

    地址映射的唯一标识。

    返回
    类型 描述
    FTask
    | 编辑本文 查看源代码

    UnLock(long, long, string)

    解锁地址映射。

    声明
    public void UnLock(long addressableId, long routeId, string source)
    参数
    类型 名称 描述
    long addressableId

    地址映射的唯一标识。

    long routeId

    新的路由 ID。

    string source

    解锁来源。

    实现

    IEntity
    IDisposable
    IPool

    扩展方法

    JsonHelper.ToJson<T>(T)
    • 编辑本文
    • 查看源代码
    本文内容
    Back to top Generated by DocFX