protected virtual void OnDestroy() { m_NetObserver.ClearNetMsgProcessor(); m_NetObserver = null; }
public static RoomLogic CreateLogic(NetMsgObserver NetObserver) { return(new RoomLogic(NetObserver)); }
/// <summary> /// 带参数构造方法 /// </summary> public RoomLogic(NetMsgObserver netObserver) : base(netObserver) { }
private NetMsgObserver mNetObserver = null; //监听者 public BaseLogic(NetMsgObserver netObserver) { mNetObserver = netObserver; }
public static cLoginLogic CreateLogic(NetMsgObserver NetObserver) { return(new cLoginLogic(NetObserver)); }
/// <summary> /// 带参数构造方法 /// </summary> public cLoginLogic(NetMsgObserver netObserver) : base(netObserver) { }