This is an official EA product cracked by Evil Source's Domo @
http://184.171.161.253/ This was compiled with PlasmaSDK 4/5
my msn is
domo@willsmithh4x.info Download link.
http://www.megaupload.com/?d=BKA6JX0W How use in C#
Code:
[DllImport("PlasmaWrapper.dll", EntryPoint="PlasmaWrapper_BeginResults", CallingConvention=CallingConvention.Cdecl)]
private static extern void Wrapper_BeginResults();
[DllImport("PlasmaWrapper.dll", EntryPoint="PlasmaWrapper_Connect", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
private static extern void Wrapper_Connect([MarshalAs(UnmanagedType.LPStr)] string titleId, int environment, uint port, uint theaterPort, uint messengerPort, bool sslEnabled, [MarshalAs(UnmanagedType.LPStr)] string username, [MarshalAs(UnmanagedType.LPStr)] string password);
[DllImport("PlasmaWrapper.dll", EntryPoint="PlasmaWrapper_Create", CallingConvention=CallingConvention.Cdecl)]
private static extern bool Wrapper_Create();
[DllImport("PlasmaWrapper.dll", EntryPoint="PlasmaWrapper_Destroy", CallingConvention=CallingConvention.Cdecl)]
private static extern void Wrapper_Destroy();
[DllImport("PlasmaWrapper.dll", EntryPoint="PlasmaWrapper_Disconnect", CallingConvention=CallingConvention.Cdecl)]
private static extern void Wrapper_Disconnect();
[DllImport("PlasmaWrapper.dll", EntryPoint="PlasmaWrapper_EndResults", CallingConvention=CallingConvention.Cdecl)]
private static extern void Wrapper_EndResults();
[DllImport("PlasmaWrapper.dll", EntryPoint="PlasmaWrapper_GetGameList", CallingConvention=CallingConvention.Cdecl)]
private static extern void Wrapper_GetGameList(int lobby);
[DllImport("PlasmaWrapper.dll", EntryPoint="PlasmaWrapper_GetLobbyList", CallingConvention=CallingConvention.Cdecl)]
private static extern void Wrapper_GetLobbyList();
[DllImport("PlasmaWrapper.dll", EntryPoint="PlasmaWrapper_GetPlayerList", CallingConvention=CallingConvention.Cdecl)]
private static extern void Wrapper_GetPlayerList(int lobby, int game);
[DllImport("PlasmaWrapper.dll", EntryPoint="PlasmaWrapper_GetResult", CallingConvention=CallingConvention.Cdecl)]
private static extern IntPtr Wrapper_GetResult();
[DllImport("PlasmaWrapper.dll", EntryPoint="PlasmaWrapper_LookupGameById", CallingConvention=CallingConvention.Cdecl)]
private static extern void Wrapper_LookupGameById(long id);
[DllImport("PlasmaWrapper.dll", EntryPoint="PlasmaWrapper_LookupGameByName", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
private static extern void Wrapper_LookupGameByName(string name);
[DllImport("PlasmaWrapper.dll", EntryPoint="PlasmaWrapper_Update", CallingConvention=CallingConvention.Cdecl)]
private static extern void Wrapper_Update();
[DllImport("PlasmaWrapper.dll", EntryPoint="PlasmaWrapper_UpdatePlayerCount", CallingConvention=CallingConvention.Cdecl)]
private static extern void Wrapper_UpdatePlayerCount();
How use in vb .net
Code:
<DllImport("PlasmaWrapper.dll", EntryPoint:="PlasmaWrapper_BeginResults", CallingConvention:=CallingConvention.Cdecl)> _
Private Shared Sub Wrapper_BeginResults()
End Sub
<DllImport("PlasmaWrapper.dll", EntryPoint:="PlasmaWrapper_Connect", CallingConvention:=CallingConvention.Cdecl, CharSet:=CharSet.Ansi)> _
Private Shared Sub Wrapper_Connect(<MarshalAs(UnmanagedType.LPStr)> ByVal titleId As String, ByVal environment As Integer, ByVal port As UInt32, ByVal theaterPort As UInt32, ByVal messengerPort As UInt32, ByVal sslEnabled As Boolean, <MarshalAs(UnmanagedType.LPStr)> ByVal username As String, <MarshalAs(UnmanagedType.LPStr)> ByVal password As String)
End Sub
<DllImport("PlasmaWrapper.dll", EntryPoint:="PlasmaWrapper_Create", CallingConvention:=CallingConvention.Cdecl)> _
Private Shared Function Wrapper_Create() As Boolean
End Function
<DllImport("PlasmaWrapper.dll", EntryPoint:="PlasmaWrapper_Destroy", CallingConvention:=CallingConvention.Cdecl)> _
Private Shared Sub Wrapper_Destroy()
End Sub
<DllImport("PlasmaWrapper.dll", EntryPoint:="PlasmaWrapper_Disconnect", CallingConvention:=CallingConvention.Cdecl)> _
Private Shared Sub Wrapper_Disconnect()
End Sub
<DllImport("PlasmaWrapper.dll", EntryPoint:="PlasmaWrapper_EndResults", CallingConvention:=CallingConvention.Cdecl)> _
Private Shared Sub Wrapper_EndResults()
End Sub
<DllImport("PlasmaWrapper.dll", EntryPoint:="PlasmaWrapper_GetGameList", CallingConvention:=CallingConvention.Cdecl)> _
Private Shared Sub Wrapper_GetGameList(ByVal lobby As Integer)
End Sub
<DllImport("PlasmaWrapper.dll", EntryPoint:="PlasmaWrapper_GetLobbyList", CallingConvention:=CallingConvention.Cdecl)> _
Private Shared Sub Wrapper_GetLobbyList()
End Sub
<DllImport("PlasmaWrapper.dll", EntryPoint:="PlasmaWrapper_GetPlayerList", CallingConvention:=CallingConvention.Cdecl)> _
Private Shared Sub Wrapper_GetPlayerList(ByVal lobby As Integer, ByVal game As Integer)
End Sub
<DllImport("PlasmaWrapper.dll", EntryPoint:="PlasmaWrapper_GetResult", CallingConvention:=CallingConvention.Cdecl)> _
Private Shared Function Wrapper_GetResult() As IntPtr
End Function
<DllImport("PlasmaWrapper.dll", EntryPoint:="PlasmaWrapper_LookupGameById", CallingConvention:=CallingConvention.Cdecl)> _
Private Shared Sub Wrapper_LookupGameById(ByVal id As Long)
End Sub
<DllImport("PlasmaWrapper.dll", EntryPoint:="PlasmaWrapper_LookupGameByName", CallingConvention:=CallingConvention.Cdecl, CharSet:=CharSet.Ansi)> _
Private Shared Sub Wrapper_LookupGameByName(ByVal name As String)
End Sub
<DllImport("PlasmaWrapper.dll", EntryPoint:="PlasmaWrapper_Update", CallingConvention:=CallingConvention.Cdecl)> _
Private Shared Sub Wrapper_Update()
End Sub
<DllImport("PlasmaWrapper.dll", EntryPoint:="PlasmaWrapper_UpdatePlayerCount", CallingConvention:=CallingConvention.Cdecl)> _
Private Shared Sub Wrapper_UpdatePlayerCount()
End Sub