Пример #1
0
        public NWEvent(NWServerAction serverAction)
        {
            if (serverAction.ActionsParams.ContainsKey((int)eEventKeys.Type))
            {
                Type = (NWEventType)serverAction.ActionsParams[(int)eEventKeys.Type];
            }

            if (serverAction.ActionsParams.ContainsKey((int)eEventKeys.Data))
            {
                Data = (Hashtable)serverAction.ActionsParams[(int)eEventKeys.Data];
            }
        }
Пример #2
0
 public NWEvent(NWEventType type, Hashtable data)
 {
     Type = type;
     Data = data;
 }
Пример #3
0
 public NWEvent(NWEventType type)
 {
     Type = type;
 }