C# Class QFramework.QMgrBehaviour

manager基类
Inheritance: QMonoBehaviour
Datei anzeigen Open project: liangxiegame/QFramework Class Usage Examples

Public Properties

Property Type Description
msgDic QMsgNode>.Dictionary

Protected Properties

Property Type Description
mMgrId ushort

Public Methods

Method Description
ProcessMsg ( QMsg msg ) : void
RegisterMsg ( QMonoBehaviour behaviour, ushort msgs ) : void
RegisterMsg ( ushort msgId, QMsgNode node ) : void
SendMsg ( QMsg msg ) : void
UnRegistMsg ( ushort msgId, QMonoBehaviour behaviour ) : void
UnRegisterMsg ( QMonoBehaviour monoBase ) : void

Protected Methods

Method Description
QMgrBehaviour ( ) : UnityEngine
SetupMgr ( ) : void
SetupMgrId ( ) : void

Method Details

ProcessMsg() public method

public ProcessMsg ( QMsg msg ) : void
msg QMsg
return void

QMgrBehaviour() protected method

protected QMgrBehaviour ( ) : UnityEngine
return UnityEngine

RegisterMsg() public method

public RegisterMsg ( QMonoBehaviour behaviour, ushort msgs ) : void
behaviour QMonoBehaviour
msgs ushort
return void

RegisterMsg() public method

public RegisterMsg ( ushort msgId, QMsgNode node ) : void
msgId ushort
node QMsgNode
return void

SendMsg() public method

public SendMsg ( QMsg msg ) : void
msg QMsg
return void

SetupMgr() protected method

protected SetupMgr ( ) : void
return void

SetupMgrId() protected abstract method

protected abstract SetupMgrId ( ) : void
return void

UnRegistMsg() public method

public UnRegistMsg ( ushort msgId, QMonoBehaviour behaviour ) : void
msgId ushort
behaviour QMonoBehaviour
return void

UnRegisterMsg() public method

public UnRegisterMsg ( QMonoBehaviour monoBase ) : void
monoBase QMonoBehaviour
return void

Property Details

mMgrId protected_oe property

protected ushort mMgrId
return ushort

msgDic public_oe property

public Dictionary msgDic
return QMsgNode>.Dictionary