Chat.UI

From KitHack Model Club Wiki
Jump to navigation Jump to search

Back to SDK API Reference

Chat.UI

Chat.UI.ChatInputPanel

  • Method: RectTransform get_rectTransform()
  • Method: ChatInputPanel get_Instance()
  • Method: Void Awake()
  • Method: ChatInputPanel Create(Channel channel, Boolean showlogpanel)
  • Method: Void Init(Channel channel)
  • Method: Void Terminate()
  • Method: Void Submit(String text, Channel channel)
  • Method: Void onBtnSend()
  • Method: Void Update()
  • Method: Boolean GetKeepOpenInput()
  • Method: Void SendMessage(Boolean keepOpen)
  • Method: Boolean IsInvoking()
  • Method: Void CancelInvoke()
  • Method: Void Invoke(String methodName, Single time)
  • Method: Void InvokeRepeating(String methodName, Single time, Single repeatRate)
  • Method: Void CancelInvoke(String methodName)
  • Method: Boolean IsInvoking(String methodName)
  • Method: Coroutine StartCoroutine(String methodName)
  • Method: Coroutine StartCoroutine(String methodName, Object value)
  • Method: Coroutine StartCoroutine(IEnumerator routine)
  • Method: Coroutine StartCoroutine_Auto(IEnumerator routine)
  • Method: Void StopCoroutine(IEnumerator routine)
  • Method: Void StopCoroutine(Coroutine routine)
  • Method: Void StopCoroutine(String methodName)
  • Method: Void StopAllCoroutines()
  • Method: Boolean get_useGUILayout()
  • Method: Void set_useGUILayout(Boolean value)
  • Method: String GetScriptClassName()
  • Method: Boolean get_enabled()
  • Method: Void set_enabled(Boolean value)
  • Method: Boolean get_isActiveAndEnabled()
  • Method: Transform get_transform()
  • Method: GameObject get_gameObject()
  • Method: Component GetComponent(Type type)
  • Method: Void GetComponentFastPath(Type type, IntPtr oneFurtherThanResultValue)
  • Method: T GetComponent()
  • Method: Boolean TryGetComponent(Type type, Component& component)
  • Method: Boolean TryGetComponent(T& component)
  • Method: Component GetComponent(String type)
  • Method: Component GetComponentInChildren(Type t, Boolean includeInactive)
  • Method: Component GetComponentInChildren(Type t)
  • Method: T GetComponentInChildren(Boolean includeInactive)
  • Method: T GetComponentInChildren()
  • Method: Component[] GetComponentsInChildren(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInChildren(Type t)
  • Method: T[] GetComponentsInChildren(Boolean includeInactive)
  • Method: Void GetComponentsInChildren(Boolean includeInactive, List`1 result)
  • Method: T[] GetComponentsInChildren()
  • Method: Void GetComponentsInChildren(List`1 results)
  • Method: Component GetComponentInParent(Type t, Boolean includeInactive)
  • Method: Component GetComponentInParent(Type t)
  • Method: T GetComponentInParent(Boolean includeInactive)
  • Method: T GetComponentInParent()
  • Method: Component[] GetComponentsInParent(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInParent(Type t)
  • Method: T[] GetComponentsInParent(Boolean includeInactive)
  • Method: Void GetComponentsInParent(Boolean includeInactive, List`1 results)
  • Method: T[] GetComponentsInParent()
  • Method: Component[] GetComponents(Type type)
  • Method: Void GetComponents(Type type, List`1 results)
  • Method: Void GetComponents(List`1 results)
  • Method: String get_tag()
  • Method: Void set_tag(String value)
  • Method: T[] GetComponents()
  • Method: Boolean CompareTag(String tag)
  • Method: Void SendMessageUpwards(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessageUpwards(String methodName, Object value)
  • Method: Void SendMessageUpwards(String methodName)
  • Method: Void SendMessageUpwards(String methodName, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, Object value)
  • Method: Void SendMessage(String methodName)
  • Method: Void SendMessage(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter)
  • Method: Void BroadcastMessage(String methodName)
  • Method: Void BroadcastMessage(String methodName, SendMessageOptions options)
  • Method: Int32 GetInstanceID()
  • Method: Int32 GetHashCode()
  • Method: Boolean Equals(Object other)
  • Method: String get_name()
  • Method: Void set_name(String value)
  • Method: HideFlags get_hideFlags()
  • Method: Void set_hideFlags(HideFlags value)
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: RectTransform rectTransform
  • Property: ChatInputPanel Instance
  • Property: Boolean useGUILayout
  • Property: Boolean enabled
  • Property: Boolean isActiveAndEnabled
  • Property: Transform transform
  • Property: GameObject gameObject
  • Property: String tag
  • Property: String name
  • Property: HideFlags hideFlags
  • Field: UITextInputField textInput
  • Field: UIButton btnSend
  • Field: TMP_Text textLabel
  • Field: RectTransform _rectTransform
  • Field: ChatLogPanel logpanel
  • Field: Channel channel
  • Field: ChatInputPanel instance

Chat.UI.ChatLog

  • Method: ChatLog get_Instance()
  • Method: Void Awake()
  • Method: Void OnEnable()
  • Method: Void OnDisable()
  • Method: Void onPlayerMsgReceived(ChatData cd)
  • Method: Void onServerMsgReceived(ChatData cd)
  • Method: Void LogMessage(ChatData cd)
  • Method: IEnumerable`1 GetMsgLog()
  • Method: String GetMsgRT(ChatData cd)
  • Method: ChatData GetLastMessageFromPlayer(Player plr)
  • Method: Void SetVisible(Boolean visible)
  • Method: Void Send()
  • Method: Boolean IsInvoking()
  • Method: Void CancelInvoke()
  • Method: Void Invoke(String methodName, Single time)
  • Method: Void InvokeRepeating(String methodName, Single time, Single repeatRate)
  • Method: Void CancelInvoke(String methodName)
  • Method: Boolean IsInvoking(String methodName)
  • Method: Coroutine StartCoroutine(String methodName)
  • Method: Coroutine StartCoroutine(String methodName, Object value)
  • Method: Coroutine StartCoroutine(IEnumerator routine)
  • Method: Coroutine StartCoroutine_Auto(IEnumerator routine)
  • Method: Void StopCoroutine(IEnumerator routine)
  • Method: Void StopCoroutine(Coroutine routine)
  • Method: Void StopCoroutine(String methodName)
  • Method: Void StopAllCoroutines()
  • Method: Boolean get_useGUILayout()
  • Method: Void set_useGUILayout(Boolean value)
  • Method: String GetScriptClassName()
  • Method: Boolean get_enabled()
  • Method: Void set_enabled(Boolean value)
  • Method: Boolean get_isActiveAndEnabled()
  • Method: Transform get_transform()
  • Method: GameObject get_gameObject()
  • Method: Component GetComponent(Type type)
  • Method: Void GetComponentFastPath(Type type, IntPtr oneFurtherThanResultValue)
  • Method: T GetComponent()
  • Method: Boolean TryGetComponent(Type type, Component& component)
  • Method: Boolean TryGetComponent(T& component)
  • Method: Component GetComponent(String type)
  • Method: Component GetComponentInChildren(Type t, Boolean includeInactive)
  • Method: Component GetComponentInChildren(Type t)
  • Method: T GetComponentInChildren(Boolean includeInactive)
  • Method: T GetComponentInChildren()
  • Method: Component[] GetComponentsInChildren(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInChildren(Type t)
  • Method: T[] GetComponentsInChildren(Boolean includeInactive)
  • Method: Void GetComponentsInChildren(Boolean includeInactive, List`1 result)
  • Method: T[] GetComponentsInChildren()
  • Method: Void GetComponentsInChildren(List`1 results)
  • Method: Component GetComponentInParent(Type t, Boolean includeInactive)
  • Method: Component GetComponentInParent(Type t)
  • Method: T GetComponentInParent(Boolean includeInactive)
  • Method: T GetComponentInParent()
  • Method: Component[] GetComponentsInParent(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInParent(Type t)
  • Method: T[] GetComponentsInParent(Boolean includeInactive)
  • Method: Void GetComponentsInParent(Boolean includeInactive, List`1 results)
  • Method: T[] GetComponentsInParent()
  • Method: Component[] GetComponents(Type type)
  • Method: Void GetComponents(Type type, List`1 results)
  • Method: Void GetComponents(List`1 results)
  • Method: String get_tag()
  • Method: Void set_tag(String value)
  • Method: T[] GetComponents()
  • Method: Boolean CompareTag(String tag)
  • Method: Void SendMessageUpwards(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessageUpwards(String methodName, Object value)
  • Method: Void SendMessageUpwards(String methodName)
  • Method: Void SendMessageUpwards(String methodName, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, Object value)
  • Method: Void SendMessage(String methodName)
  • Method: Void SendMessage(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter)
  • Method: Void BroadcastMessage(String methodName)
  • Method: Void BroadcastMessage(String methodName, SendMessageOptions options)
  • Method: Int32 GetInstanceID()
  • Method: Int32 GetHashCode()
  • Method: Boolean Equals(Object other)
  • Method: String get_name()
  • Method: Void set_name(String value)
  • Method: HideFlags get_hideFlags()
  • Method: Void set_hideFlags(HideFlags value)
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: ChatLog Instance
  • Property: Transform Transform
  • Property: GameObject GameObject
  • Property: Boolean IsVisible
  • Property: Boolean useGUILayout
  • Property: Boolean enabled
  • Property: Boolean isActiveAndEnabled
  • Property: Transform transform
  • Property: GameObject gameObject
  • Property: String tag
  • Property: String name
  • Property: HideFlags hideFlags
  • Field: Color selfTextColor
  • Field: Color othersTextColor
  • Field: Color serverTextColor
  • Field: Single messageDuration
  • Field: Queue`1 msgLog
  • Field: Int32 maxLogSize
  • Field: UnityEvent OnSetVisible
  • Field: UnityEvent OnSetInvisible
  • Field: String testText
  • Field: ChatLog instance

Chat.UI.ChatLogItem

  • Method: Void OnSetData(ChatData data)
  • Method: T SetData(ChatData data, ScrollRect scrollRect)
  • Method: Void SetData(ChatData data, ScrollRect scrollRect)
  • Method: Titem OnSelect(Action`1 onItemSelected)
  • Method: Titem OnDoubleClick(Action`1 onItemDoubleClick)
  • Method: String get_Caption()
  • Method: ScrollRect get_ScrollRect()
  • Method: RectTransform get_container()
  • Method: ListItemData get_BaseData()
  • Method: Boolean get_IsInteractable()
  • Method: CanvasGroup get_canvasGroup()
  • Method: T InstantiateItem()
  • Method: ListItem InstantiateItem()
  • Method: Void Start()
  • Method: Void SetData(ListItemData data, ScrollRect scrollRect)
  • Method: Void SetCaption(String text)
  • Method: Void SetTooltip(String tooltip)
  • Method: Void SetTooltip(TooltipData tooltipData)
  • Method: Void Terminate()
  • Method: Void SetSelected(Boolean suppressEvent)
  • Method: Void OnPtrHoverEnter(Pointer ptr)
  • Method: Void OnPtrHoverExit(Pointer ptr)
  • Method: Void SetThumbnailSprite(Sprite sprite)
  • Method: Void SetThumbnailSize(Single value)
  • Method: Void SetThumbnailColor(Color iconColor)
  • Method: Void SetBackgroundColor(Color bgColor)
  • Method: Void ScrollIntoView()
  • Method: Void SetInteractable(Boolean v)
  • Method: Boolean IsInvoking()
  • Method: Void CancelInvoke()
  • Method: Void Invoke(String methodName, Single time)
  • Method: Void InvokeRepeating(String methodName, Single time, Single repeatRate)
  • Method: Void CancelInvoke(String methodName)
  • Method: Boolean IsInvoking(String methodName)
  • Method: Coroutine StartCoroutine(String methodName)
  • Method: Coroutine StartCoroutine(String methodName, Object value)
  • Method: Coroutine StartCoroutine(IEnumerator routine)
  • Method: Coroutine StartCoroutine_Auto(IEnumerator routine)
  • Method: Void StopCoroutine(IEnumerator routine)
  • Method: Void StopCoroutine(Coroutine routine)
  • Method: Void StopCoroutine(String methodName)
  • Method: Void StopAllCoroutines()
  • Method: Boolean get_useGUILayout()
  • Method: Void set_useGUILayout(Boolean value)
  • Method: String GetScriptClassName()
  • Method: Boolean get_enabled()
  • Method: Void set_enabled(Boolean value)
  • Method: Boolean get_isActiveAndEnabled()
  • Method: Transform get_transform()
  • Method: GameObject get_gameObject()
  • Method: Component GetComponent(Type type)
  • Method: Void GetComponentFastPath(Type type, IntPtr oneFurtherThanResultValue)
  • Method: T GetComponent()
  • Method: Boolean TryGetComponent(Type type, Component& component)
  • Method: Boolean TryGetComponent(T& component)
  • Method: Component GetComponent(String type)
  • Method: Component GetComponentInChildren(Type t, Boolean includeInactive)
  • Method: Component GetComponentInChildren(Type t)
  • Method: T GetComponentInChildren(Boolean includeInactive)
  • Method: T GetComponentInChildren()
  • Method: Component[] GetComponentsInChildren(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInChildren(Type t)
  • Method: T[] GetComponentsInChildren(Boolean includeInactive)
  • Method: Void GetComponentsInChildren(Boolean includeInactive, List`1 result)
  • Method: T[] GetComponentsInChildren()
  • Method: Void GetComponentsInChildren(List`1 results)
  • Method: Component GetComponentInParent(Type t, Boolean includeInactive)
  • Method: Component GetComponentInParent(Type t)
  • Method: T GetComponentInParent(Boolean includeInactive)
  • Method: T GetComponentInParent()
  • Method: Component[] GetComponentsInParent(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInParent(Type t)
  • Method: T[] GetComponentsInParent(Boolean includeInactive)
  • Method: Void GetComponentsInParent(Boolean includeInactive, List`1 results)
  • Method: T[] GetComponentsInParent()
  • Method: Component[] GetComponents(Type type)
  • Method: Void GetComponents(Type type, List`1 results)
  • Method: Void GetComponents(List`1 results)
  • Method: String get_tag()
  • Method: Void set_tag(String value)
  • Method: T[] GetComponents()
  • Method: Boolean CompareTag(String tag)
  • Method: Void SendMessageUpwards(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessageUpwards(String methodName, Object value)
  • Method: Void SendMessageUpwards(String methodName)
  • Method: Void SendMessageUpwards(String methodName, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, Object value)
  • Method: Void SendMessage(String methodName)
  • Method: Void SendMessage(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter)
  • Method: Void BroadcastMessage(String methodName)
  • Method: Void BroadcastMessage(String methodName, SendMessageOptions options)
  • Method: Int32 GetInstanceID()
  • Method: Int32 GetHashCode()
  • Method: Boolean Equals(Object other)
  • Method: String get_name()
  • Method: Void set_name(String value)
  • Method: HideFlags get_hideFlags()
  • Method: Void set_hideFlags(HideFlags value)
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: ChatData data
  • Property: String Caption
  • Property: ScrollRect ScrollRect
  • Property: RectTransform container
  • Property: ListItemData BaseData
  • Property: Boolean IsInteractable
  • Property: CanvasGroup canvasGroup
  • Property: Boolean useGUILayout
  • Property: Boolean enabled
  • Property: Boolean isActiveAndEnabled
  • Property: Transform transform
  • Property: GameObject gameObject
  • Property: String tag
  • Property: String name
  • Property: HideFlags hideFlags
  • Field: Image thumbnail
  • Field: Image bg
  • Field: TMP_Text caption
  • Field: UISelectable selectable
  • Field: UIButton uiBtn
  • Field: TooltipTriggerBase tooltip
  • Field: ScrollRect scrollRect
  • Field: UnityEvent`1 OnSelected
  • Field: UnityEvent`1 OnDblClick
  • Field: RectTransform self
  • Field: Boolean isTemplate
  • Field: ListItemData data
  • Field: CanvasGroup _canvasGroup
  • Field: Single tDown

Chat.UI.ChatLogPanel

  • Method: ChatLogItem GetItemTemplate(ChatData itemData)
  • Method: ChatLogPanel Create()
  • Method: Void OnCreate()
  • Method: Void onServerMsgReceived(ChatData cd)
  • Method: Void onPlayerMsgReceived(ChatData cd)
  • Method: Void Populate(IEnumerable`1 chatdata)
  • Method: Void Terminate()
  • Method: Void OnItemSelected(ChatLogItem clitem)
  • Method: Void Start()
  • Method: Void ClearList()
  • Method: ChatLogItem AddItem(ChatData itemData)
  • Method: Void OnItemDoubleClick(ChatLogItem obj)
  • Method: ChatLogItem GetItemForObject(ChatData obj)
  • Method: Boolean IsInvoking()
  • Method: Void CancelInvoke()
  • Method: Void Invoke(String methodName, Single time)
  • Method: Void InvokeRepeating(String methodName, Single time, Single repeatRate)
  • Method: Void CancelInvoke(String methodName)
  • Method: Boolean IsInvoking(String methodName)
  • Method: Coroutine StartCoroutine(String methodName)
  • Method: Coroutine StartCoroutine(String methodName, Object value)
  • Method: Coroutine StartCoroutine(IEnumerator routine)
  • Method: Coroutine StartCoroutine_Auto(IEnumerator routine)
  • Method: Void StopCoroutine(IEnumerator routine)
  • Method: Void StopCoroutine(Coroutine routine)
  • Method: Void StopCoroutine(String methodName)
  • Method: Void StopAllCoroutines()
  • Method: Boolean get_useGUILayout()
  • Method: Void set_useGUILayout(Boolean value)
  • Method: String GetScriptClassName()
  • Method: Boolean get_enabled()
  • Method: Void set_enabled(Boolean value)
  • Method: Boolean get_isActiveAndEnabled()
  • Method: Transform get_transform()
  • Method: GameObject get_gameObject()
  • Method: Component GetComponent(Type type)
  • Method: Void GetComponentFastPath(Type type, IntPtr oneFurtherThanResultValue)
  • Method: T GetComponent()
  • Method: Boolean TryGetComponent(Type type, Component& component)
  • Method: Boolean TryGetComponent(T& component)
  • Method: Component GetComponent(String type)
  • Method: Component GetComponentInChildren(Type t, Boolean includeInactive)
  • Method: Component GetComponentInChildren(Type t)
  • Method: T GetComponentInChildren(Boolean includeInactive)
  • Method: T GetComponentInChildren()
  • Method: Component[] GetComponentsInChildren(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInChildren(Type t)
  • Method: T[] GetComponentsInChildren(Boolean includeInactive)
  • Method: Void GetComponentsInChildren(Boolean includeInactive, List`1 result)
  • Method: T[] GetComponentsInChildren()
  • Method: Void GetComponentsInChildren(List`1 results)
  • Method: Component GetComponentInParent(Type t, Boolean includeInactive)
  • Method: Component GetComponentInParent(Type t)
  • Method: T GetComponentInParent(Boolean includeInactive)
  • Method: T GetComponentInParent()
  • Method: Component[] GetComponentsInParent(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInParent(Type t)
  • Method: T[] GetComponentsInParent(Boolean includeInactive)
  • Method: Void GetComponentsInParent(Boolean includeInactive, List`1 results)
  • Method: T[] GetComponentsInParent()
  • Method: Component[] GetComponents(Type type)
  • Method: Void GetComponents(Type type, List`1 results)
  • Method: Void GetComponents(List`1 results)
  • Method: String get_tag()
  • Method: Void set_tag(String value)
  • Method: T[] GetComponents()
  • Method: Boolean CompareTag(String tag)
  • Method: Void SendMessageUpwards(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessageUpwards(String methodName, Object value)
  • Method: Void SendMessageUpwards(String methodName)
  • Method: Void SendMessageUpwards(String methodName, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, Object value)
  • Method: Void SendMessage(String methodName)
  • Method: Void SendMessage(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter)
  • Method: Void BroadcastMessage(String methodName)
  • Method: Void BroadcastMessage(String methodName, SendMessageOptions options)
  • Method: Int32 GetInstanceID()
  • Method: Int32 GetHashCode()
  • Method: Boolean Equals(Object other)
  • Method: String get_name()
  • Method: Void set_name(String value)
  • Method: HideFlags get_hideFlags()
  • Method: Void set_hideFlags(HideFlags value)
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: Boolean useGUILayout
  • Property: Boolean enabled
  • Property: Boolean isActiveAndEnabled
  • Property: Transform transform
  • Property: GameObject gameObject
  • Property: String tag
  • Property: String name
  • Property: HideFlags hideFlags
  • Field: ChatLogItem template
  • Field: List`1 items