Exemplo n.º 1
0
        public void SendNj4xServerLog(string Nj4xID, DateTime EventTime, string LogData)
        {
            LogPacket packet = new LogPacket();

            packet.id           = Nj4xID;
            packet.log_datetime = EventTime;
            packet.log_data     = LogData;

            m_Socket.Emit("nj4xLog", JsonConvert.SerializeObject(packet));
        }
Exemplo n.º 2
0
        public void SendAccountLog(string AccountID, DateTime EventTime, string LogData)
        {
            LogPacket packet = new LogPacket();

            packet.id           = AccountID;
            packet.log_datetime = EventTime;
            packet.log_data     = LogData;

            m_Socket.Emit("accountLog", JsonConvert.SerializeObject(packet));
        }