public void RequireCompeleteTask(NFrame.NFGUID objectID, string strTaskID) { NFMsg.ReqCompeleteTask xData = new NFMsg.ReqCompeleteTask(); xData.task_id = UnicodeEncoding.Default.GetBytes(strTaskID); MemoryStream stream = new MemoryStream(); Serializer.Serialize <NFMsg.ReqCompeleteTask>(stream, xData); SendMsg(objectID, NFMsg.EGameMsgID.EGMI_REQ_COMPELETE_TASK, stream); }
public void RequireCompeleteTask(NFrame.NFGUID objectID, string strTaskID) { NFMsg.ReqCompeleteTask xData = new NFMsg.ReqCompeleteTask(); xData.task_id = UnicodeEncoding.Default.GetBytes(strTaskID); mxBody.SetLength(0); mxSerializer.Serialize(mxBody, xData); SendMsg(objectID, NFMsg.EGameMsgID.EGMI_REQ_COMPELETE_TASK, mxBody); }
public void RequireCompeleteTask(NFCoreEx.NFIDENTID objectID, string strTaskID) { NFMsg.ReqCompeleteTask xData = new NFMsg.ReqCompeleteTask(); xData.task_id = UnicodeEncoding.Default.GetBytes(strTaskID); MemoryStream stream = new MemoryStream(); Serializer.Serialize<NFMsg.ReqCompeleteTask>(stream, xData); SendMsg(objectID, NFMsg.EGameMsgID.EGMI_REQ_COMPELETE_TASK, stream); }