/// <summary> /// Joins a chat channel /// </summary> /// <param name="name"></param> public void JoinChatChannel(string name, DOTAChatChannelType_t type = DOTAChatChannelType_t.DOTAChannelType_Custom) { var joinChannel = new ClientGCMsgProtobuf <CMsgDOTAJoinChatChannel>((uint)EDOTAGCMsg.k_EMsgGCJoinChatChannel); joinChannel.Body.channel_name = name; joinChannel.Body.channel_type = type; Send(joinChannel, 570); }
public void JoinChat(string chatName, DOTAChatChannelType_t channelType) { var request = new ClientGCMsgProtobuf <CMsgDOTAJoinChatChannel>((uint)EDOTAGCMsg.k_EMsgGCJoinChatChannel); request.Body.channel_name = chatName; request.Body.channel_type = channelType; _gameCoordinator.Send(request, APP_ID); _logger.Info("Joining chat: " + chatName); }
public void JoinChat(string name, DOTAChatChannelType_t type) { var msg = new ClientGCMsgProtobuf <CMsgDOTAJoinChatChannel>( (uint)EDOTAGCMsg.k_EMsgGCJoinChatChannel); msg.Body.channel_name = name; msg.Body.channel_type = type; Bot.Coordinator.Send(msg, Games.DotaGameId); }
/// <summary> /// Joins a chat channel. Note that limited Steam accounts cannot join chat channels. /// </summary> /// <param name="name">Name of the chat channel</param> /// <param name="type">Type of the chat channel</param> public void JoinChatChannel(string name, DOTAChatChannelType_t type = DOTAChatChannelType_t.DOTAChannelType_Custom) { var joinChannel = new ClientGCMsgProtobuf<CMsgDOTAJoinChatChannel>((uint) EDOTAGCMsg.k_EMsgGCJoinChatChannel); joinChannel.Body.channel_name = name; joinChannel.Body.channel_type = type; Send(joinChannel); }
public void JoinChat(string name, DOTAChatChannelType_t type) { var msg = new ClientGCMsgProtobuf<CMsgDOTAJoinChatChannel>( (uint) EDOTAGCMsg.k_EMsgGCJoinChatChannel); msg.Body.channel_name = name; msg.Body.channel_type = type; Bot.Coordinator.Send(msg, Games.DotaGameId); }