1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

implement service resolver for script plugins

This commit is contained in:
RaidMax
2020-09-26 18:13:56 -05:00
parent bacafebb99
commit a11596a8fd
6 changed files with 56 additions and 4 deletions

View File

@ -44,6 +44,8 @@ let plugin = {
},
onLoadAsync: function (manager) {
this.logger = _serviceResolver.ResolveService("ILogger");
this.logger.WriteDebug("sample plugin loaded");
},
onUnloadAsync: function () {