【修改】基础功能验证
This commit is contained in:
@@ -14,7 +14,7 @@ function plugin_load(stellar, plug_env)
|
||||
print("this example aims to test regist function")
|
||||
plug_env.data = "my example regist plugin env"
|
||||
--[[ 由于未订阅消息, 注册函数应该永远不会触发 ]]
|
||||
plug_env.id = plugin_manage.register(stellar, plugin_ctx_new, plugin_ctx_free, plug_env)
|
||||
plug_env.id = session_plugin.register(stellar, plugin_ctx_new, plugin_ctx_free, plug_env)
|
||||
print("plugin env data is", plug_env.data)
|
||||
print("after regist, plugin id is", plug_env.id)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user