/// <summary> /// 初始化 /// </summary> public void init() { this._ProtocolType = 0; this._SendFromId = null; this._SendInfo = null; this._SendToId = null; }
public MsgInfo(MsgInfo oldinfo, string sendto) { _ProtocolType = oldinfo.ProtocolType; _SendFromId = oldinfo.SendFromID; _netUserID = oldinfo.NetUserID; _SendToId = oldinfo.SendToID; _SendInfo = oldinfo.SendInfo; _infoGuid = oldinfo.InfoGuid; _ver = oldinfo.Ver; _isNet = oldinfo.IsNet; _infoType = oldinfo.InfoType; _SendTo = sendto; }