Fantasy
搜索结果

    显示/隐藏目录

    ProcessPackInfo 类

    继承
    object
    APackInfo
    ProcessPackInfo
    实现
    IDisposable
    继承成员
    APackInfo.RpcId
    APackInfo.RouteId
    APackInfo.PackInfoId
    APackInfo.IsDisposed
    APackInfo.ProtocolCode
    APackInfo.OpCodeIdStruct
    APackInfo.MemoryStream
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    命名空间: Fantasy.PacketParser
    程序集: Fantasy.Net.dll
    语法
    public sealed class ProcessPackInfo : APackInfo, IDisposable

    属性

    | 编辑本文 查看源代码

    MessageType

    声明
    public Type MessageType { get; }
    属性值
    类型 描述
    Type

    方法

    | 编辑本文 查看源代码

    Create<T>(Scene, T, int, uint, long)

    声明
    public static ProcessPackInfo Create<T>(Scene scene, T message, int disposeCount, uint rpcId = 0, long routeId = 0) where T : IRouteMessage
    参数
    类型 名称 描述
    Scene scene
    T message
    int disposeCount
    uint rpcId
    long routeId
    返回
    类型 描述
    ProcessPackInfo
    类型参数
    名称 描述
    T
    | 编辑本文 查看源代码

    Deserialize(Type)

    声明
    public override object Deserialize(Type messageType)
    参数
    类型 名称 描述
    Type messageType
    返回
    类型 描述
    object
    重写
    APackInfo.Deserialize(Type)
    | 编辑本文 查看源代码

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    声明
    public override void Dispose()
    重写
    APackInfo.Dispose()
    | 编辑本文 查看源代码

    RentMemoryStream(int)

    声明
    public override MemoryStreamBuffer RentMemoryStream(int size = 0)
    参数
    类型 名称 描述
    int size
    返回
    类型 描述
    MemoryStreamBuffer
    重写
    APackInfo.RentMemoryStream(int)
    | 编辑本文 查看源代码

    Set(uint, long)

    声明
    public void Set(uint rpcId, long routeId)
    参数
    类型 名称 描述
    uint rpcId
    long routeId

    实现

    IDisposable

    扩展方法

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