Udrakoloader
1.0.0
Udrakoloader是一個MOD,目前與Samp和Halo(可能還有更多遊戲)兼容。提供了在.NET中加載腳本(DLL)的能力。
基於ScripthookvDotnet和Sharpneedle。基本上由CLR託管組成,運行.NET插件。
- 由於以下原因,我不為此獲得信譽:
一些示例:[編譯DLL並放入“ Udrakoloader”文件夾中]
對於C#插件,您必須提供正確的名稱空間目錄。
在這種情況下
// Plugin.cs
using System ;
using System . Collections . Generic ;
using System . Diagnostics ;
using System . Linq ;
using System . Text ;
using System . Windows . Forms ;
namespace ExampleProject . Udrakoloader
{
public class Plugin
{
public static int EntryPoint ( string pwzArgument )
{
string processName = Process . GetCurrentProcess ( ) . ProcessName ;
MessageBox . Show ( "C# Example | The current process is " + processName ) ;
return 0 ;
}
}
} 'Plugin.vb
Imports System
Imports System.Collections.Generic
Imports System.Diagnostics
Imports System.Linq
Imports System.Text
Imports System.Windows.Forms
Imports System.Reflection
Imports System.Runtime.CompilerServices
Imports System.Runtime.InteropServices
Imports System.Security
Namespace Udrakoloader
Public Class Plugin
Public Shared Function EntryPoint( ByVal pwzArgument As String ) As Integer
Dim processName As String = Process.GetCurrentProcess().ProcessName
MessageBox.Show( "vb Example | The current process is " & processName)
Return 0
End Function
End Class
End Namespace 下載為遊戲製作的預發行版:Udrako Loader下載