C# 클래스 MessengerAM, tf_client

Class to manage updating components when certain game events happen
상속: System.Object
파일 보기 프로젝트 열기: wids-eria/tf_client

공개 프로퍼티들

프로퍼티 타입 설명
listenTypeCollectItem string
listenTypeConfig string
listenTypeInput string
listenTypePlayer string

공개 메소드들

메소드 설명
ClearAll ( ) : void

Clears all registered listeners. Should be called when a new scene is loaded, etc.

Listen ( string listenerType, Component component ) : void

Register implicitly with this instead of gameObject.

Listen ( string listenerType, GameObject go ) : void

Adds a listener for a particular type of message.

Send ( MessageAM, msg ) : void

Sends a message (calls the function denoted by methodName) to all registered listeners for the given message type.

StopListen ( string listenerType, GameObject go ) : void

Removes a listener for the specified type of message.

메소드 상세

ClearAll() 공개 정적인 메소드

Clears all registered listeners. Should be called when a new scene is loaded, etc.
public static ClearAll ( ) : void
리턴 void

Listen() 공개 정적인 메소드

Register implicitly with this instead of gameObject.
public static Listen ( string listenerType, Component component ) : void
listenerType string /// A ///
component Component /// A ///
리턴 void

Listen() 공개 정적인 메소드

Adds a listener for a particular type of message.
public static Listen ( string listenerType, GameObject go ) : void
listenerType string /// A ///
go GameObject /// A ///
리턴 void

Send() 공개 정적인 메소드

Sends a message (calls the function denoted by methodName) to all registered listeners for the given message type.
public static Send ( MessageAM, msg ) : void
msg MessageAM, /// A ///
리턴 void

StopListen() 공개 정적인 메소드

Removes a listener for the specified type of message.
public static StopListen ( string listenerType, GameObject go ) : void
listenerType string /// A ///
go GameObject /// A ///
리턴 void

프로퍼티 상세

listenTypeCollectItem 공개적으로 정적으로 프로퍼티

A listener type for item collection events.
public static string listenTypeCollectItem
리턴 string

listenTypeConfig 공개적으로 정적으로 프로퍼티

A listener type for configuration-related events (quality, resolution, etc.)
public static string listenTypeConfig
리턴 string

listenTypeInput 공개적으로 정적으로 프로퍼티

A listener type for input-related events.
public static string listenTypeInput
리턴 string

listenTypePlayer 공개적으로 정적으로 프로퍼티

A listener type for player-related events.
public static string listenTypePlayer
리턴 string