상속: global::ProtoBuf.IExtensible
예제 #1
0
    public void RequireAcceptTask(NFCoreEx.NFIDENTID objectID, string strTaskID)
    {
        NFMsg.ReqAcceptTask xData = new NFMsg.ReqAcceptTask();
        xData.task_id = UnicodeEncoding.Default.GetBytes(strTaskID);

        MemoryStream stream = new MemoryStream();
        Serializer.Serialize<NFMsg.ReqAcceptTask>(stream, xData);

        SendMsg(objectID, NFMsg.EGameMsgID.EGMI_REQ_ACCEPT_TASK, stream);
    }
예제 #2
0
    public void RequireAcceptTask(NFrame.NFGUID objectID, string strTaskID)
    {
        NFMsg.ReqAcceptTask xData = new NFMsg.ReqAcceptTask();
        xData.task_id = UnicodeEncoding.Default.GetBytes(strTaskID);

        MemoryStream stream = new MemoryStream();

        Serializer.Serialize <NFMsg.ReqAcceptTask>(stream, xData);

        SendMsg(objectID, NFMsg.EGameMsgID.EGMI_REQ_ACCEPT_TASK, stream);
    }
예제 #3
0
        public void RequireAcceptTask(NFrame.NFGUID objectID, string strTaskID)
        {
            NFMsg.ReqAcceptTask xData = new NFMsg.ReqAcceptTask();
            xData.task_id = UnicodeEncoding.Default.GetBytes(strTaskID);

            mxBody.SetLength(0);
            mxSerializer.Serialize(mxBody, xData);


            SendMsg(objectID, NFMsg.EGameMsgID.EGMI_REQ_ACCEPT_TASK, mxBody);
        }