//Start of the list of event handlers that take data from the client void HandleRemoveGameEvent(object sender, EventArgs m) { EventArgStructures.StringVal input = (EventArgStructures.StringVal)m; if (GameStrings.Contains(input.val)) { GameStrings.Remove(input.val); } }
// End of the functions used to interact //Start of the list of event handlers that take data from the client //Start of the list of event handlers that take data from the client void HandleAddGameEvent(object sender, EventArgs m) { EventArgStructures.StringVal input = (EventArgStructures.StringVal)m; if (!GameStrings.Contains(input.val)) { GameStrings.Add(input.val); } }