private void LogSitEvent(SimObject user, SimEventType updown, string p, params NamedParam[] args) { if (!MaintainActions) { return; } if (user != null) { user.Parent = null; user.LogEvent(SendPipelineEvent(ACogbotEvent.CreateEvent(client, p, updown | SimEventType.SIT | SimEventType.REGIONAL, args))); } //DLRConsole.WriteLine(user + " " + p + " " + ScriptEngines.ScriptEventListener.argsListString(args)); }
private void LogSitEvent(SimObject user, SimEventType updown, string p, params NamedParam[] args) { if (!MaintainActions) return; if (user !=null) { user.Parent = null; user.LogEvent(SendPipelineEvent(ACogbotEvent.CreateEvent(client, p, updown | SimEventType.SIT | SimEventType.REGIONAL, args))); } //DLRConsole.WriteLine(user + " " + p + " " + ScriptEngines.ScriptEventListener.argsListString(args)); }