Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 16:14

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: PlasmaSDK Plasma Wrapper
PostPosted: 01 Dec 2010 13:26 

Joined: 20 Jul 2010 03:35
Posts: 5
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


Top
 Profile  
 
 
 Post subject: Re: PlasmaSDK Plasma Wrapper
PostPosted: 15 Dec 2010 16:33 

Joined: 12 Apr 2010 09:14
Posts: 9
what is it?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: