Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Tim Potze edited this pageMar 10, 2025 ·1 revision

Welcome to the openmp-sampsharp-x64-poc wiki!Below are some random snippets of docs that will eventually find its way in to SampSharp documentation


Generated startup code

usingSystem;usingSystem.Runtime.InteropServices;usingSampSharp.Core;namespaceSampSharp{publicstaticclassEntrypoint{privatestaticreadonly<StartupType>_startup=new();privatestaticStartupContext_context;[UnmanagedCallersOnly]publicstaticvoidCleanup(){_context?.InvokeCleanup();}[UnmanagedCallersOnly]publicstaticvoidInitialize(SampSharpInitParamsinf){_context=newStartupContext(inf);_context.InitializeUsing(_startup);}publicstaticvoidMain(){StartupContext.MainInfoProvider();}}}
Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp