Steamworks.SteamMatchmaking.SendLobbyChatMsg C# (CSharp) Méthode

SendLobbyChatMsg() public static méthode

Broadcasts a chat message to the all the users in the lobby

users in the lobby (including the local user) will receive a LobbyChatMsg_t callback

returns true if the message is successfully sent

pvMsgBody can be binary or text data, up to 4k

if pvMsgBody is text, cubMsgBody should be strlen( text ) + 1, to include the null terminator

public static SendLobbyChatMsg ( CSteamID steamIDLobby, byte pvMsgBody, int cubMsgBody ) : bool
steamIDLobby CSteamID
pvMsgBody byte
cubMsgBody int
Résultat bool
		public static bool SendLobbyChatMsg(CSteamID steamIDLobby, byte[] pvMsgBody, int cubMsgBody) {
			InteropHelp.TestIfAvailableClient();
			return NativeMethods.ISteamMatchmaking_SendLobbyChatMsg(steamIDLobby, pvMsgBody, cubMsgBody);
		}