资 源 简 介
SharpAPI
Introduction
SharpAPI is a plugin system created for the MMORPG ROSE Online (kROSE v736 - AruaROSE, TitanROSE, etc.). Written in a variety of programming languages targeting the .NET Framework (version 4), SharpAPI allows players to create and use plugins written in most CLI languages (see a list of the most popular).
Plugins can either be compiled into DLL form or Python scripts (.py files). An example of a Python script can be seen below, the example draws the text "SharpAPI is running!" onto the screen.
```
import clr
clr.AddReference("System.Drawing")
from System.Drawing import Color
from SharpAPI import *
from SharpAPI.Engine import *
def Render():
Sprite.Begin()
Sprite.DrawText("SharpAPI is running!", Font.NormalOutline, 50, 50, Color.White)
Sprite.End()
Scene.R