public void KickChatMember( SteamID steamIdChat, SteamID steamIdMember )
{
SteamID chatId = steamIdChat.ConvertToUInt64(); // copy the steamid so we don't modify it
var kickMember = new ClientMsg<MsgClientChatAction>();
if ( chatId.IsClanAccount )
{
// this steamid is incorrect, so we'll fix it up
chatId.AccountInstance = ( uint )SteamID.ChatInstanceFlags.Clan;
chatId.AccountType = EAccountType.Chat;
}
kickMember.Body.SteamIdChat = chatId;
kickMember.Body.SteamIdUserToActOn = steamIdMember;
kickMember.Body.ChatAction = EChatAction.Kick;
this.Client.Send( kickMember );
}
/// <summary>