/// <inheritdoc /> protected override TSubCommandType RetrieveSubMessage(BlockNetworkCommand60EventServerPayload payload) { //If they ask for it just provide it. Could be null, but not up to us. return(payload.Command as TSubCommandType); }
/// <inheritdoc /> protected override bool CheckIsHandlable(BlockNetworkCommand60EventServerPayload payload) { //Just check if it's the type. return(payload.Command is TSubCommandType); }