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]; } }
public NWEvent(NWEventType type, Hashtable data) { Type = type; Data = data; }
public NWEvent(NWEventType type) { Type = type; }