public bool GetInterface()
{
steamFriends = Steamworks.CastInterface<ISteamFriends002> ( steamClient.GetISteamFriends ( user, pipe, "SteamFriends002" ) );
if ( steamFriends == null )
return false;
clientFriends = Steamworks.CastInterface<IClientFriends> ( clientEngine.GetIClientFriends ( user, pipe, "CLIENTFRIENDS_INTERFACE_VERSION001" ) );
if ( clientFriends == null )
return false;
// Virtual Table
VTable vTable = new VTable ( clientFriends.Interface );
getChatMsg = vTable.GetFunc<NativeGetChatRoomEntry> ( 99 );
getChatName = vTable.GetFunc<NativeGetChatRoomName> ( 117 );
sendChatMsg = vTable.GetFunc<NativeSendChatMsg> ( 98 );
CallbackDispatcher.SpawnDispatchThread ( pipe );
return true;
}