Created
June 20, 2014 19:24
-
-
Save LennyPenny/dface6d36256e466d191 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FriendChatMsg_t msg = (FriendChatMsg_t)Marshal.PtrToStructure(cllBck.m_pubParam, typeof(FriendChatMsg_t)); | |
EChatEntryType chtType = new EChatEntryType(); | |
CSteamID chatter = new CSteamID(); | |
UInt32 time = new UInt32(); | |
Byte[] lol = new Byte[0x3000 + 1]; | |
int iMsg = clientfriends.GetChatMessage(msg.m_ulFriendID, msg.m_iChatID.GetHashCode(), lol, cllBck.m_cubParam, ref chtType, ref chatter, ref time); | |
char[] lol2 = Encoding.UTF8.GetString(lol).ToCharArray(); | |
Console.WriteLine(lol2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment