Heya,
I'm currently trying to figure out which arguments are passed to this function.
My function signature looks like this:
Code:
public int CGChat__AddChatMessageCallback(int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9, int a10, int a11, int a12, int a13, int a14)
This is what I currently figured out:
a1 = Message
a2 = Type
a3 = PlayerName (Only on TradeChannel /General Chat confirmed)
a5 = Channel (TradeChannel e.g.)
a6 = PlayerName (Only on TradeChannel /General Chat confirmed)
But I can't find the playername for whispers / says or tells.
Neither of the arguments contains a valid playername for these chattypes.
Can anyone give me a hint on that?
Btw: I read that warden scans addchatmessage, so may I get in trouble for hooking that function? (On my trial acc nothing happend)