Fantasy
搜索结果

    显示/隐藏目录

    AddressableMessageComponent 类

    可寻址消息组件、挂载了这个组件可以接收Addressable消息

    继承
    object
    Entity
    AddressableMessageComponent
    实现
    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 AddressableMessageComponent : Entity, IEntity, IDisposable, IPool

    字段

    | 编辑本文 查看源代码

    AddressableId

    可寻址消息组件的唯一标识。

    声明
    public long AddressableId
    字段值
    类型 描述
    long

    方法

    | 编辑本文 查看源代码

    Lock()

    锁定可寻址消息组件。

    声明
    public FTask Lock()
    返回
    类型 描述
    FTask
    | 编辑本文 查看源代码

    Register(bool)

    注册可寻址消息组件。

    声明
    public FTask Register(bool isLock = true)
    参数
    类型 名称 描述
    bool isLock

    是否进行锁定。

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

    UnLock(string)

    解锁可寻址消息组件。

    声明
    public FTask UnLock(string source)
    参数
    类型 名称 描述
    string source

    解锁来源。

    返回
    类型 描述
    FTask

    实现

    IEntity
    IDisposable
    IPool

    扩展方法

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