-
Notifications
You must be signed in to change notification settings - Fork 216
zh_CN_OpenFx_Open
Shunhong Zhang edited this page Nov 17, 2018
·
2 revisions
绝大部分秋之盒开放框架相关的API对象可以直接调用Context对象的public属性获得,而秋之盒拓展也是继承自Context的,也就是说,你可以直接调用父类的API属性来实现API的调用 例如:
[ExtName("呵呵哒")]
public class ExampleExt:AutunBoxExtension{
public override int main()
{
//获取了Context父类的Logger属性,并调用其Info()方法
Logger.Info("Fuck all!");
return 0;
}
}