Exemplo n.º 1
0
 public LSC(ChatDB db, MessagesDB messagesDB, CharacterDB characterDB, ItemManager itemManager, NodeContainer nodeContainer, Logger logger)
 {
     this.DB            = db;
     this.MessagesDB    = messagesDB;
     this.CharacterDB   = characterDB;
     this.ItemManager   = itemManager;
     this.NodeContainer = nodeContainer;
     this.Log           = logger.CreateLogChannel("LSC");
 }
Exemplo n.º 2
0
 public LSC(ChatDB db, MessagesDB messagesDB, CharacterDB characterDB, ItemFactory itemFactory, NodeContainer nodeContainer, Logger logger, NotificationManager notificationManager, MachoNet machoNet, MailManager mailManager)
 {
     this.DB                  = db;
     this.MessagesDB          = messagesDB;
     this.CharacterDB         = characterDB;
     this.ItemFactory         = itemFactory;
     this.NodeContainer       = nodeContainer;
     this.NotificationManager = notificationManager;
     this.MachoNet            = machoNet;
     this.MailManager         = mailManager;
     this.Log                 = logger.CreateLogChannel("LSC");
 }
 public static void UpdateMessage(MessagesDB MessagesDB)
 {
     SQL_Entity.Connection.Update(MessagesDB);
 }
 public static void InsertMessage(MessagesDB MessagesDB)
 {
     SQL_Entity.Connection.Insert(MessagesDB);
 }