Example #1
0
 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));
 }
Example #2
0
 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));
 }