Page cover

Clan Chat Director

Like what your seeing?

Introduction

The Clan Chat Director is intended to be attached to your Clan/Group chat UI. You will then need to call the Join method to connect the director to a specific clan's chat. Assuming the user is permitted to be in that chat you will now start receiving messages from that chat and send messages to that chat.

For smaller groups/clans you can also iterate over the members of the chat however be advised that most Steam groups / clans get very large and cannot be iterated over by the user.

Definition

Namespace

using HeathenEngineering.SteamworksIntegration;

Definition

public class ClanChatDirector : MonoBehaviour;

Fields and Attributes

Members

The members seen in this chat room, this may not list all members for large chat rooms.

Is Open In Steam

This will be true if the Clan chat window is open in the Steam Friend Chat dialog of Steam.

In Room

This will be true if the user is "in" this chat room

Chat Room

The chat room associated with this director if any

Events

evtJoin

Occurs when a member joins the room

evtRecieved

Occurs when a message is received to this room

evtLeave

Occurs when a member leaves the room

Methods

Join

Joins the chat for the indicated clan

Leave

Leaves the chat if present

Send

Sends a chat message if present

Open in Steam

Opens the clan chat in Steam's overlay or chat dialog

Last updated